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
{{- 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 }}
- 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 }} 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 -}}
-
+-->
{{ partial "indieweb-icon.html" -}}
diff --git a/layouts/shortcodes/mention-work.html b/layouts/shortcodes/mention-work.html
index 4d03f6f..d1f6804 100644
--- a/layouts/shortcodes/mention-work.html
+++ b/layouts/shortcodes/mention-work.html
@@ -4,4 +4,4 @@
{{- end -}}
{{- .Inner | markdownify | safeHTML -}}
-
+
\ No newline at end of file
diff --git a/scripts/xhtmlize.sh b/scripts/xhtmlize.sh
index 8fe1261..10b4b6b 100644
--- a/scripts/xhtmlize.sh
+++ b/scripts/xhtmlize.sh
@@ -8,5 +8,5 @@
# echo ""
find "$1" -type f -name '*.html' \
- -exec sh -c 'echo "" >"${0%*.html}.xhtml" && xmlfmt -i " " -f "$0" | busybox sed -e :a -e "/./,\$!d;/^\n*\$/{\$d;N;};/\n\$/ba" | sd -f m "\n(?:\t*)?" "" | sd -f m "\n\t*>\"${0%*.html}.xhtml\"" "sponge \"$0\""' {} \;
+ -exec sh -c 'echo "" >"${0%*.html}.xhtml" && xmlfmt -i " " -f "$0" | busybox sed -e :a -e "/./,\$!d;/^\n*\$/{\$d;N;};/\n\$/ba" | sd -f m "\n(?:\t*)?" "" | sd -f m "\n\t*>\"${0%*.html}.xhtml\"" "sponge \"$0\""' {} \;
# done