1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 11:55:31 -04:00

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

This commit is contained in:
2019-12-23 09:48:12 -06:00
parent 8a2f67de66
commit f10510a7ab
7 changed files with 7 additions and 6 deletions

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 }}"