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
paginate: 5
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:
post: /p/:slug/
@ -68,26 +73,25 @@ params:
menu:
main:
-
identifier: home
- identifier: home
name: Home
url: /
weight: -100
pre: home
-
identifier: about
- identifier: about
name: About
url: about
weight: -90
pre: user
-
identifier: archives
- identifier: archives
name: Archives
url: archives
weight: -70
pre: archives
-
identifier: search
- identifier: search
name: Search
url: search
weight: -60
@ -98,11 +102,10 @@ related:
threshold: 60
toLower: false
indices:
-
name: tags
- name: tags
weight: 100
-
name: categories
- name: categories
weight: 200
markup: