From 0874dd5d5652f7d710d98329ba111fd69e7d8fce Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 24 Feb 2025 02:18:20 +0800 Subject: feat(www): YEAH! --- www/config/_default/hugo.yaml | 27 +++++++++++++++++++++++++++ www/config/development/hugo.yaml | 2 ++ www/config/production/hugo.yaml | 4 ++++ 3 files changed, 33 insertions(+) create mode 100644 www/config/_default/hugo.yaml create mode 100644 www/config/development/hugo.yaml create mode 100644 www/config/production/hugo.yaml (limited to 'www/config') diff --git a/www/config/_default/hugo.yaml b/www/config/_default/hugo.yaml new file mode 100644 index 0000000..3b63838 --- /dev/null +++ b/www/config/_default/hugo.yaml @@ -0,0 +1,27 @@ +baseURL: "https://crupest.life/" +title: "crupest's life" +copyright: "CC BY-NC 4.0" + +languageCode: "en" +defaultContentLanguage: "en" +hasCJKLanguage: true +enableEmoji: true + +frontmatter: + lastmod: [ "lastmod", "date", "publishDate" ] + +markup: + highlight: + lineNos: true + noClasses: false + +build: + noJSConfigInAssets: true + + +params: + jsopts: + minify: false + sourceMap: "" + + timeline: "https://timeline.crupest.life" \ No newline at end of file diff --git a/www/config/development/hugo.yaml b/www/config/development/hugo.yaml new file mode 100644 index 0000000..f710fd1 --- /dev/null +++ b/www/config/development/hugo.yaml @@ -0,0 +1,2 @@ +minify: + minifyOutput: false diff --git a/www/config/production/hugo.yaml b/www/config/production/hugo.yaml new file mode 100644 index 0000000..f7440a3 --- /dev/null +++ b/www/config/production/hugo.yaml @@ -0,0 +1,4 @@ +cleanDestinationDir: true + +minify: + minifyOutput: true -- cgit v1.2.3