diff --git a/layouts/partials/summary/card.html b/layouts/partials/summary/card.html index 12c421b..f641243 100644 --- a/layouts/partials/summary/card.html +++ b/layouts/partials/summary/card.html @@ -1,7 +1,7 @@
{{ .Title }}
-
{{ if .GitInfo }} {{ end }} · ☕ {{ .ReadingTime }} {{ i18n "reading-time" }}{{ with .Params.Author }}· {{if .Params.AuthorEmoji }}{{ .Params.AuthorEmoji }}{{ else }}✍️{{ end }} {{ . }}{{ end }}
+
{{ if .GitInfo }} {{ end }} · ☕ {{ .ReadingTime }} {{ i18n "reading-time" }}{{ with $.Param "author" }}· {{if $.Param "AuthorEmoji" }}{{ $.Param "AuthorEmoji" }}{{ else }}✍️{{ end }} {{ . }}{{ end }}
{{ $params := .Params }}
diff --git a/layouts/partials/summary/classic.html b/layouts/partials/summary/classic.html index 0b76f69..cc3cc6a 100644 --- a/layouts/partials/summary/classic.html +++ b/layouts/partials/summary/classic.html @@ -13,7 +13,7 @@
{{ .Title }}
-
{{ if .GitInfo }} {{ end }} · ☕ {{ .ReadingTime }} {{ i18n "reading-time" }} {{ with .Params.Author }}· {{if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}✍️{{ end }} {{ . }}{{ end }}
+
{{ if .GitInfo }} {{ end }} · ☕ {{ .ReadingTime }} {{ i18n "reading-time" }} {{ with $params.Author }}· {{if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}✍️{{ end }} {{ . }}{{ end }}
diff --git a/layouts/partials/summary/compact.html b/layouts/partials/summary/compact.html index 69d8c57..05d72c7 100644 --- a/layouts/partials/summary/compact.html +++ b/layouts/partials/summary/compact.html @@ -4,7 +4,7 @@
{{ .Title }}
-
{{ if .GitInfo }} {{ end }} · ☕ {{ .ReadingTime }} {{ i18n "reading-time" }}{{ with .Params.Author }}· {{if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}✍️{{ end }} {{ . }}{{ end }}
+
{{ if .GitInfo }} {{ end }} · ☕ {{ .ReadingTime }} {{ i18n "reading-time" }}{{ with $params.Author }}· {{if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}✍️{{ end }} {{ . }}{{ end }}
{{ range $params.tags }}