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,20 @@
{{- with .Params.authors -}}
{{- $lang := ( $.Params.lang | default $.Lang ) -}}
<span class='byline'>
{{- partial "svg/icon" "author" -}}
<span class='screen-reader-text'> {{ i18n "by" }} </span>
{{- range $i, $authorID := . -}}
{{- $author := ( index $.Site.Data.authors $authorID ) -}}
{{- $i18nAuthor := ( index $author $lang ) -}}
{{- $name := ( or $i18nAuthor.name $author.name ) -}}
{{- if gt $i 0 }}, {{ end -}}
<a href='{{ ( print "authors" "/" $author.id ) | relLangURL }}'>
{{- $name.display -}}
</a>
{{- end -}}
</span>
{{- end -}}

View File

@@ -0,0 +1,8 @@
{{- $dateFormat := ( .Site.Params.settings.dateFormat | default "2006, Jan 02" ) -}}
<span class='posted-on'>
{{- partial "svg/icon" "calendar" -}}
<span class='screen-reader-text'>{{ i18n "postedOn" }} </span>
<time class='entry-date' datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
{{- .Date.Format $dateFormat -}}
</time>
</span>

View File

@@ -0,0 +1,6 @@
{{ if .Site.Params.settings.showReadingTime }}
<span class='reading-time'>
{{- partial "svg/icon" "clock" -}}
{{ i18n "readingTime" .ReadingTime }}
</span>
{{ end }}