jlelse
/
Indieroad
Archived
1
Fork 0

Small improvement of Gallery shortcode

This commit is contained in:
Jan-Lukas Else 2019-11-24 21:07:01 +01:00
parent 73c7943092
commit 6472026882
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
</div>
<a href="{{ $src.RelPermalink }}" itemprop="contentUrl" data-size="{{ $src.Width }}x{{ $src.Height }}"></a>
{{ with .Get "caption" }}
<figcaption><p>{{ . }}</p></figcaption>
<figcaption><p>{{ . | markdownify }}</p></figcaption>
{{ end }}
</figure>
</div>