Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cntrump/hugo-notepadium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/_markup/render-image.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html
index 8078e87..e231bfe 100644
--- a/layouts/_default/_markup/render-image.html
+++ b/layouts/_default/_markup/render-image.html
@@ -4,9 +4,8 @@
{{- if $block -}}
<span class="image-container"><span class="link">
{{- end -}}
-<a target="_blank" rel="noopener noreferrer"
- href="{{- $url -}}"><img {{ if $block }}class="img"{{ end }} src="{{- $url -}}"
- alt{{- with .Text -}}="{{- . -}}" {{- end -}} /></a>
+<img {{ if $block }}class="img"{{ end }} src="{{- $url -}}"
+ alt{{- with .Text -}}="{{- . -}}" {{- end -}} />
{{- if $block -}}
</span>
{{- if ne .Title " " -}}