Update theme

This commit is contained in:
Ben Goldsworthy 2023-03-05 14:21:04 -05:00
parent 80774027c1
commit 2a0ecfc3ec
6 changed files with 1155 additions and 46 deletions

View file

@ -83,13 +83,7 @@
{{- end -}}
{{- with .Get "title" -}}<h4 class="figcaption__title">{{ . }}</h4>{{- end -}}
{{- with .Get "caption" -}}
<p class="figcaption__caption">{{ . | markdownify }}
{{- with $src -}}
{{- if ( and ( eq .ResourceType "image" ) (or (gt .Width 2000) (gt .Height 2000) ) ) -}}
<span class="figcaption__full-size-link"><a href="{{ .RelPermalink }}">View full size</a></span>
{{- end -}}
{{- end -}}
</p>
<p class="figcaption__caption">{{ . | markdownify }}</p>
{{- end -}}
</figcaption>
{{- end -}}