style(config): formatting & add i18n comment

This commit is contained in:
Jimmy Cai 2020-12-15 10:01:07 +01:00
parent d6688ce3d4
commit 3a6874b7b2

View File

@ -3,8 +3,13 @@ languageCode: en-us
theme: hugo-theme-stack theme: hugo-theme-stack
paginate: 5 paginate: 5
title: Example Site title: Example Site
disqusShortname: hugo-theme-stack # Change it to your Disqus shortname before using
DefaultContentLanguage: en # Theme i18n support # Change it to your Disqus shortname before using
disqusShortname: hugo-theme-stack
# Theme i18n support
# Available values: en, fr, id, ja, ko, pt-br, zh-cn
DefaultContentLanguage: en
permalinks: permalinks:
post: /p/:slug/ post: /p/:slug/
@ -68,26 +73,25 @@ params:
menu: menu:
main: main:
- - identifier: home
identifier: home
name: Home name: Home
url: / url: /
weight: -100 weight: -100
pre: home pre: home
-
identifier: about - identifier: about
name: About name: About
url: about url: about
weight: -90 weight: -90
pre: user pre: user
-
identifier: archives - identifier: archives
name: Archives name: Archives
url: archives url: archives
weight: -70 weight: -70
pre: archives pre: archives
-
identifier: search - identifier: search
name: Search name: Search
url: search url: search
weight: -60 weight: -60
@ -98,11 +102,10 @@ related:
threshold: 60 threshold: 60
toLower: false toLower: false
indices: indices:
- - name: tags
name: tags
weight: 100 weight: 100
-
name: categories - name: categories
weight: 200 weight: 200
markup: markup: