summaryrefslogtreecommitdiffstats
path: root/exampleSite/config.toml
diff options
context:
space:
mode:
authoramzrk22020-04-13 19:13:39 +0800
committeramzrk22020-04-13 19:13:39 +0800
commit6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad (patch)
treeb13e4c3a49823b602ebb918c899dd4a964c1f445 /exampleSite/config.toml
downloadhugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.gz
hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.bz2
hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.zip
Initial commit
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml54
1 files changed, 54 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
new file mode 100644
index 0000000..46f0eb8
--- /dev/null
+++ b/exampleSite/config.toml
@@ -0,0 +1,54 @@
+baseURL = "https://example.com"
+title = "Fuji Demo"
+languageCode = "zh-Hans"
+theme = "fuji"
+
+hasCJKLanguage = true
+disableKinds = ["RSS"]
+
+summaryLength = 100 # Custom cummary length, add <!--more--> in post file to custom split point
+paginate = 10
+
+[permalinks]
+ post = "/:title/" # Custom post links, e.g. "/:year/:month/:title/"
+
+[params]
+ subTitle = "This is a Sub Title"
+
+ # Bangumi image chart id
+ # bgmImageChart = "000000"
+
+ # Custom lazyload thumbnail
+ cdnLazyloadSRC = "https://cdn.jsdelivr.net/gh/amzrk2/poal-jsdelivr/lazyload/dsr_loading.svg"
+ # Custom css & js CDN
+ cdnVanillaLazyloadJS = "https://cdn.jsdelivr.net/npm/vanilla-lazyload@15.1.1/dist/lazyload.min.js"
+
+[markup]
+ [markup.highlight]
+ style = "monokailight"
+
+[taxonomies]
+ tag = "tags"
+
+[menu]
+ [[menu.nav]]
+ name = "主页"
+ url = "/"
+ weight = 1
+ [[menu.nav]]
+ name = "存档"
+ url = "/archive/"
+ weight = 2
+ [[menu.nav]]
+ name = "关于"
+ url = "/about/"
+ weight = 3
+
+ [[menu.link]]
+ name = "GitHub"
+ url = "https://github.com/amzrk2"
+ weight = 1
+ [[menu.link]]
+ name = "哔哩哔哩"
+ url = "https://space.bilibili.com/19767474"
+ weight = 2