2023-01-21 21:32:02 -06:00
|
|
|
{{ $resource := .Page.Resources.GetMatch (.Get "src") }}
|
2021-10-27 09:48:13 -05:00
|
|
|
|
2021-11-10 21:46:07 -06:00
|
|
|
{{ $noborder := false }}
|
|
|
|
{{ if .Get "noborder" }}
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ $noborder = true }}
|
2021-10-27 09:48:13 -05:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ $hidecaption := false }}
|
|
|
|
{{ if .Get "hidecaption" }}
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ $hidecaption = true }}
|
2021-10-27 09:48:13 -05:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<p>
|
2021-11-10 21:46:07 -06:00
|
|
|
{{ partial "figure.html" (dict "src" $resource "noborder" $noborder "hidecaption" $hidecaption) }}
|
2021-10-27 09:48:13 -05:00
|
|
|
</p>
|