Hugo v0.62.0 features (link template hooks!) and fixes

This commit is contained in:
jake committed 2019-12-23 09:48:12 -06:00
1 parent 8a2f67de66
commit f10510a7ab
7 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@
<img src="{{ $image.Permalink }}" width="{{ $displayWidth }}" height="{{ $displayHeight }}"
alt="{{ . | markdownify | plainify | safeHTMLAttr }}" title="{{ . | markdownify | plainify | safeHTMLAttr }}">
</picture>
<figcaption>{{ . | markdownify | safeHTML }}</figcaption>
<figcaption>{{ $.Page.RenderString . | safeHTML }}</figcaption>
</figure>
{{ else }}
<p><img src="{{ $image.Permalink }}" width="{{ $displayWidth }}" height="{{ $displayHeight }}"