From 4bd2617fd058ff76e9b4715f7efbda522baa16ab Mon Sep 17 00:00:00 2001 From: ttybitnik Date: Sun, 26 Nov 2023 17:59:14 -0300 Subject: [PATCH 1/9] fix: implement builtin i18n for blog list dates --- layouts/_default/list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b8a5062..b9ae462 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,6 @@ {{ define "main" }} {{ $paginator := .Paginate .Data.Pages }} - +

{{ .Title }}

@@ -19,9 +19,9 @@ {{.Title}} {{ if .Site.Params.dateformShort }} - {{ .Date.Format .Site.Params.dateformShort }} + {{ time.Format .Site.Params.dateformShort .Date }} {{ else }} - {{ .Date.Format "Jan 2"}} + {{ time.Format "Jan 2" .Date }} {{ end }} From 996838954afa05e0c0fe05d3960c7d5e3f557573 Mon Sep 17 00:00:00 2001 From: cortex3 Date: Sun, 17 Dec 2023 19:28:26 +0100 Subject: [PATCH 2/9] adding SEO improvements --- assets/scss/_fonts.scss | 12 ++++++------ layouts/index.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/scss/_fonts.scss b/assets/scss/_fonts.scss index 2be737e..2738b65 100644 --- a/assets/scss/_fonts.scss +++ b/assets/scss/_fonts.scss @@ -1,7 +1,7 @@ @font-face { font-family: "Inter"; font-style: normal; - font-display: auto; + font-display: swap; font-weight: 400; src: url("fonts/Inter-Regular.woff2") format("woff2"), url("fonts/Inter-Regular.woff") format("woff"); @@ -9,7 +9,7 @@ @font-face { font-family: "Inter"; font-style: italic; - font-display: auto; + font-display: swap; font-weight: 400; src: url("fonts/Inter-Italic.woff2") format("woff2"), url("fonts/Inter-Italic.woff") format("woff"); @@ -18,7 +18,7 @@ @font-face { font-family: "Inter"; font-style: normal; - font-display: auto; + font-display: swap; font-weight: 600; src: url("fonts/Inter-Medium.woff2") format("woff2"), url("fonts/Inter-Medium.woff") format("woff"); @@ -26,7 +26,7 @@ @font-face { font-family: "Inter"; font-style: italic; - font-display: auto; + font-display: swap; font-weight: 600; src: url("fonts/Inter-MediumItalic.woff2") format("woff2"), url("fonts/Inter-MediumItalic.woff") format("woff"); @@ -35,7 +35,7 @@ @font-face { font-family: "Inter"; font-style: normal; - font-display: auto; + font-display: swap; font-weight: 800; src: url("fonts/Inter-Bold.woff2") format("woff2"), url("fonts/Inter-Bold.woff") format("woff"); @@ -43,7 +43,7 @@ @font-face { font-family: "Inter"; font-style: italic; - font-display: auto; + font-display: swap; font-weight: 800; src: url("fonts/Inter-BoldItalic.woff2") format("woff2"), url("fonts/Inter-BoldItalic.woff") format("woff"); diff --git a/layouts/index.html b/layouts/index.html index d0c02a4..3c813d7 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,7 +3,7 @@ {{ end }} {{ define "main" }} -
+
{{ if .Site.Params.Portrait.Path }} {{ .Site.Params.Portrait.Alt }} From 7bfaf2d7b874437e2d3cdec005d437e56ffd9adf Mon Sep 17 00:00:00 2001 From: Izzie Date: Wed, 20 Dec 2023 08:20:49 +0000 Subject: [PATCH 3/9] Fix author not showing in footer --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index f1e9299..15123a6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,7 +3,7 @@