Use a single figure shortcode that does either image or video

This commit is contained in:
bbaovanc committed 2021-10-19 14:19:23 -05:00
1 parent 96067c95c0
commit b599ddeadd
7 files changed
+25 -60

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
{{ $resource := $.Page.Resources.GetMatch (.Get "src") }}
{{ partial "figure.html" $resource }}