From edd49a893c5f581a2f622f2b29a289760bbc2edc Mon Sep 17 00:00:00 2001 From: Francesco Date: Sat, 11 May 2024 22:13:47 +0200 Subject: Format --- layouts/partials/comments.html | 2 +- layouts/partials/head.html | 10 +++++++++- layouts/partials/head/js.html | 3 ++- layouts/partials/math.html | 9 ++++++--- layouts/partials/post-entry.html | 7 +++++-- 5 files changed, 23 insertions(+), 8 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 979b59e..cbc7d6c 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -14,5 +14,5 @@ data-loading="lazy" crossorigin="anonymous" async> - + {{ end }} \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index fef47c4..9350ee6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,14 @@ -{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} + + + {{ if .IsHome }} + {{ site.Title }} + {{ else }} + {{ printf "%s | %s" .Title site.Title }} + {{ end }} + + {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} diff --git a/layouts/partials/head/js.html b/layouts/partials/head/js.html index 8bae509..aa471f4 100644 --- a/layouts/partials/head/js.html +++ b/layouts/partials/head/js.html @@ -1,6 +1,7 @@ {{- with resources.Get "js/main.js" }} {{- $opts := dict "minify" true }} {{- with . | js.Build $opts | fingerprint }} - + {{- end }} {{- end }} \ No newline at end of file diff --git a/layouts/partials/math.html b/layouts/partials/math.html index c54c8d5..62b330f 100644 --- a/layouts/partials/math.html +++ b/layouts/partials/math.html @@ -1,7 +1,10 @@ - - + + -