Switch themes to minimo

This commit is contained in:
Dave Gallant
2021-09-06 11:55:05 -04:00
parent 75f9797c91
commit 4ff7aec7c1
302 changed files with 17841 additions and 607 deletions

View File

@@ -0,0 +1,27 @@
{{- with .Params.cover -}}
{{- $type := ( printf "%T" . ) -}}
{{- $isMap := ( not ( eq $type "string" ) ) -}}
<div class='entry-cover'>
<figure class='container cover-{{- if $isMap -}}
{{- with .style -}} {{ . }} {{- else -}} normal {{- end -}}
{{- else -}} normal {{- end -}}
'>
<img src='{{ if $isMap }}{{ .image }}{{ else }}{{ . }}{{ end }}'
{{- if $isMap }}
{{- with ( .alternate | default .caption ) }} alt='{{ . | markdownify }}'{{ end -}}
{{ end -}} />
{{ if $isMap }}
{{ with .caption }}
<figcaption class='container'>
<span>
{{- . | markdownify -}}
</span>
</figcaption>
{{ end }}
{{ end }}
</figure>
</div>
{{- end -}}