Use a single figure shortcode that does either image or video

This commit is contained in:
2021-10-19 14:19:23 -05:00
parent 96067c95c0
commit b599ddeadd
7 changed files with 25 additions and 60 deletions

View File

@ -18,7 +18,9 @@
<hr>
{{ with .Resources.GetMatch "feature" }}
{{ partial "featured_media.html" . }}
<div class="post-media">
{{ partial "figure.html" . }}
</div>
{{ end }}
{{ .Content }}