diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 553a588..75def71 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,23 +1,24 @@ {{ define "main" }} -
-
+
+

{{ .Title }}

- {{ if lt .Date .Lastmod -}} - Posted by {{- partial "indieweb-author.html" -}} on his Website + + on his Website {{ with .OutputFormats.Get "gemtext" -}} and Gemini capsule {{- end -}} + {{ if lt .Date .Lastmod -}}
- Last updated . Changelog - {{ else -}} - Posted by {{- partial "indieweb-author.html" -}} on his Website - {{- with .OutputFormats.Get "gemtext" -}} - and Gemini capsule - {{- end -}} + Last updated . Changelog {{ end }}
- {{ .WordCount }} words, a {{ .ReadingTime }} minute read + + {{ .WordCount }} words, a {{ .ReadingTime }} minute read +
{{ partial "processed-content" . -}} diff --git a/layouts/shortcodes/indieweb-author.html b/layouts/shortcodes/indieweb-author.html index e937f46..05a5cf6 100644 --- a/layouts/shortcodes/indieweb-author.html +++ b/layouts/shortcodes/indieweb-author.html @@ -1,4 +1,32 @@ - -{{ $favicon := resources.Get "/favicon.png" -}} + +{{- $favicon := resources.Get "/favicon.png" -}} {{- $favicon_base64 := $favicon.Content | base64Encode -}} - + +