Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2020-09-09 00:53:16 +0300
committerJimmy Cai <jimmehcai@gmail.com>2020-09-09 00:53:16 +0300
commitf051517f0aa1322e0cdf62a41605f525f1299eb0 (patch)
treebfc192722d8ed7c3e851fe11cd8ecfb04b33afdb /exampleSite
parent080834ab96db369900daea1e5a8e8124964d64a5 (diff)
revert: doc(config.toml): remove permalinks settings from exampleSite config.toml
This reverts commit ea0f064cdf9138228861917d2758cd8762ca04e1.
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 260275f..e2ea524 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -4,6 +4,10 @@ theme = "hugo-theme-stack"
paginate = 5
title = "Example Site"
disqusShortname = "hugo-theme-stack" # Change it to your Disqus shortname before using
+
+[permalinks]
+ post = "/p/:slug/"
+ page = "/:slug/"
[params]
mainSections = ["post"]