From 71423fe0c95ef25c8ff2e606210175498ec1ae0b Mon Sep 17 00:00:00 2001 From: coliff Date: Mon, 27 May 2024 19:17:40 +0900 Subject: [PATCH 1/2] Use Hugo's built-in site template --- content/404.md | 3 ++- content/cookies.md | 8 +++----- layouts/sitemap.xml | 7 ------- 3 files changed, 5 insertions(+), 13 deletions(-) delete mode 100644 layouts/sitemap.xml diff --git a/content/404.md b/content/404.md index 3b2ac23..6e3a926 100644 --- a/content/404.md +++ b/content/404.md @@ -4,7 +4,8 @@ layout: "404" description: "Page could not be found" url: /404/ private: true -sitemap_exclude: true +sitemap: + disable: true section: 404 hideDocsToggle: true --- diff --git a/content/cookies.md b/content/cookies.md index 4f3a9fb..6c3c663 100644 --- a/content/cookies.md +++ b/content/cookies.md @@ -5,15 +5,13 @@ description: "" url: "/cookies/" private: true hideToc: true -sitemap_exclude: true +sitemap: + disable: true hideDocsToggle: true hidden: true --- -

- "Cookies" are pieces of information that a web site transfers to an - individual's hard drive for record-keeping purposes. -

+"Cookies" are pieces of information that a web site transfers to an individual's hard drive for record-keeping purposes. diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml deleted file mode 100644 index 48a5175..0000000 --- a/layouts/sitemap.xml +++ /dev/null @@ -1,7 +0,0 @@ -{{ printf "" | safeHTML }} - - {{- range .Data.Pages -}}{{ if ne .Params.sitemap_exclude true }} - {{- .Permalink -}}{{ if not .Lastmod.IsZero }} - {{ safeHTML (.Lastmod.Format "2006-01-02T15:04:05-07:00") }}{{- end -}} - {{- end -}}{{- end -}} - From 069d7bd70db448e37dc34b175a8b0d451b12dd5b Mon Sep 17 00:00:00 2001 From: coliff Date: Mon, 27 May 2024 19:33:04 +0900 Subject: [PATCH 2/2] Update favicon.svg --- static/favicon.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/favicon.svg b/static/favicon.svg index e626600..223e542 100644 --- a/static/favicon.svg +++ b/static/favicon.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file