diff --git a/layouts/_default/notes.html b/layouts/_default/notes.html index 61ef2c9..9c43ccc 100644 --- a/layouts/_default/notes.html +++ b/layouts/_default/notes.html @@ -18,7 +18,7 @@ Noted - {{ if gt (sub .Lastmod.Unix .Date.Unix) 3600 -}} + {{- if gt (sub .Lastmod.Unix .Date.Unix) 3600 -}} , updated {{ .Lastmod.Format "2006-01-02 15:04:05" }} {{- end }}
{{ partial "processed-content.html" . }}
diff --git a/layouts/partials/full-article.html b/layouts/partials/full-article.html index 132824a..f950aef 100644 --- a/layouts/partials/full-article.html +++ b/layouts/partials/full-article.html @@ -1,8 +1,8 @@

{{ .Title }}

- {{- if not .Params.disableMeta }} - {{ partial "post-meta.html" . }} + {{ if not .Params.disableMeta -}} + {{- partial "post-meta.html" . }} {{- end }}
diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html index 2720eb1..adda0c7 100644 --- a/layouts/partials/post-meta.html +++ b/layouts/partials/post-meta.html @@ -8,13 +8,12 @@ {{- else -}} {{- $logURL = $logURL | strings.ReplaceRE `\.md` `.gmi` -}} {{- end -}} -{{- $action }} {{ .Date.Format "2006-01-02" }} - by {{- partial "indieweb-author.html" -}} on his Website{{- with .OutputFormats.Get "gemtext" -}}{{- printf " " -}}and Gemini capsule{{- end -}}. - {{ if gt (sub .Lastmod.Unix .Date.Unix) 900 -}} +{{- $action }} {{ .Date.Format "2006-01-02" }} by {{- partial "indieweb-author.html" -}} on his Website{{- with .OutputFormats.Get "gemtext" -}}{{- printf " " -}}and Gemini capsule{{- end -}}. + {{- if gt (sub .Lastmod.Unix .Date.Unix) 900 -}}
Last updated . Changelog. - {{- end }} - {{ if not $isNotes -}} + {{- end -}} + {{- if not $isNotes -}}
{{ partial "wordcount.html" . -}} {{ end }} diff --git a/layouts/shortcodes/indieweb-author.html b/layouts/shortcodes/indieweb-author.html index de2e0c3..00283c3 100644 --- a/layouts/shortcodes/indieweb-author.html +++ b/layouts/shortcodes/indieweb-author.html @@ -1,7 +1,5 @@ - -{{- $favicon := resources.Get "/favicon.png" -}} -{{- $favicon_base64 := $favicon.Content | base64Encode -}} - +{{- $favicon_base64 := $favicon.Content | base64Encode -}} - +-->