markdownify image captions

This commit is contained in:
jake committed 2019-12-19 13:04:02 -05:00
1 parent 7b3f045231
commit 2465903ff5
22 files changed
+79 -74

No files matched your search

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