mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-07 12:37:31 -05:00
WIP
This commit is contained in:
8
layouts/_markup/render-image.html
Normal file
8
layouts/_markup/render-image.html
Normal file
@ -0,0 +1,8 @@
|
||||
{{ with .Title }}
|
||||
<figure>
|
||||
{{ partial "embed-resource.html" ($.Page.Resources.Get $.Destination) }}
|
||||
<figcaption>{{ . }}</figcaption>
|
||||
</figure>
|
||||
{{ else }}
|
||||
{{ partial "embed-resource.html" (.Page.Resources.Get .Destination) }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user