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
commit0874dd5d5652f7d710d98329ba111fd69e7d8fce (patch)
treed07e51b0f743d796d8e680530d2d2811565dac2b /www/config
parent46e66fefdf1affe6062ab498a28d766ef0e5d0c3 (diff)
downloadcrupest-0874dd5d5652f7d710d98329ba111fd69e7d8fce.tar.gz
crupest-0874dd5d5652f7d710d98329ba111fd69e7d8fce.tar.bz2
crupest-0874dd5d5652f7d710d98329ba111fd69e7d8fce.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