Update theme
This commit is contained in:
parent
80774027c1
commit
2a0ecfc3ec
6 changed files with 1155 additions and 46 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue