aboutsummaryrefslogtreecommitdiff
path: root/www/config
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-24 02:18:20 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-26 02:21:41 +0800
commit0c885ba1bf30ce8308880f926be85b6f5a499fa6 (patch)
tree25f42a9386f760c9d7d47d9b154e4a0089e49dff /www/config
parentdc7b27c713351066e20947ea6d1adb80aeb68d9f (diff)
downloadcrupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.tar.gz
crupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.tar.bz2
crupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.zip
feat(www): YEAH!
Diffstat (limited to 'www/config')
-rw-r--r--www/config/_default/hugo.yaml27
-rw-r--r--www/config/development/hugo.yaml2
-rw-r--r--www/config/production/hugo.yaml4
3 files changed, 33 insertions, 0 deletions
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