mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 09:47:29 -05:00
Use a single figure shortcode that does either image or video
This commit is contained in:
@ -18,7 +18,9 @@
|
||||
<hr>
|
||||
|
||||
{{ with .Resources.GetMatch "feature" }}
|
||||
{{ partial "featured_media.html" . }}
|
||||
<div class="post-media">
|
||||
{{ partial "figure.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ .Content }}
|
||||
|
Reference in New Issue
Block a user