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:
2
layouts/shortcodes/figure.html
Normal file
2
layouts/shortcodes/figure.html
Normal file
@ -0,0 +1,2 @@
|
||||
{{ $resource := $.Page.Resources.GetMatch (.Get "src") }}
|
||||
{{ partial "figure.html" $resource }}
|
Reference in New Issue
Block a user