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,15 @@
{{- $txs := ( $.Scratch.Get "taxonomy" ) -}}
{{- $tx := ( $txs | singularize ) -}}
{{- $taxonomies := ( index $.Site.Taxonomies $txs ) -}}
<div class='{{ $txs }}'>
{{- partial "svg/icon" $tx -}}
<span class='screen-reader-text'>{{ ( ( i18n $tx 2 ) | default $txs ) }}: </span>
{{- range $i, $item := ( $.GetTerms $txs ) -}}
{{- if gt $i 0 }}, {{ end -}}
<a class='{{ $tx }}' href='{{ $item.RelPermalink }}'>
{{- $item.Title -}}
</a>
{{- end -}}
</div>