diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9fdc817..5fa97c5 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -70,4 +70,11 @@ + + + {{ end }} diff --git a/layouts/shortcodes/imgthumb.html b/layouts/shortcodes/imgthumb.html index c9ca77e..084d767 100644 --- a/layouts/shortcodes/imgthumb.html +++ b/layouts/shortcodes/imgthumb.html @@ -5,37 +5,13 @@ {{ $imagethumbnail := $image.Resize $options }} - - - + - - - - - {{- if or (or (.Get "title") (.Get "caption")) (.Get "attr") -}} - - {{ with (.Get "title") -}} - {{ . }} - {{- end -}} - {{- if or (.Get "caption") (.Get "attr") -}} - {{- .Get "caption" | markdownify -}} - {{- with .Get "attrlink" }} - - {{- end -}} - {{- .Get "attr" | markdownify -}} - {{- if .Get "attrlink" }}{{ end }} - {{- end }} - - {{- end }} - {{- if or (or (.Get "title") (.Get "caption")) (.Get "attr") -}} {{ with (.Get "title") -}}
- {{- .Get "caption" | markdownify -}} - {{- with .Get "attrlink" }} - - {{- end -}} - {{- .Get "attr" | markdownify -}} - {{- if .Get "attrlink" }}{{ end }}