mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-05 00:15:59 -06:00
16 lines
356 B
HTML
16 lines
356 B
HTML
{{ $resource := $.Page.Resources.GetMatch (.Get "src") }}
|
|
|
|
{{ $noborder := false }}
|
|
{{ if .Get "noborder" }}
|
|
{{ $noborder = true }}
|
|
{{ end }}
|
|
|
|
{{ $hidecaption := false }}
|
|
{{ if .Get "hidecaption" }}
|
|
{{ $hidecaption = true }}
|
|
{{ end }}
|
|
|
|
<p>
|
|
{{ partial "figure.html" (dict "src" $resource "noborder" $noborder "hidecaption" $hidecaption) }}
|
|
</p>
|