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,42 +73,40 @@ params:
menu:
main:
-
identifier: home
name: Home
url: /
weight: -100
pre: home
-
identifier: about
name: About
url: about
weight: -90
pre: user
-
identifier: archives
name: Archives
url: archives
weight: -70
pre: archives
-
identifier: search
name: Search
url: search
weight: -60
pre: search
- identifier: home
name: Home
url: /
weight: -100
pre: home
- identifier: about
name: About
url: about
weight: -90
pre: user
- identifier: archives
name: Archives
url: archives
weight: -70
pre: archives
- identifier: search
name: Search
url: search
weight: -60
pre: search
related:
includeNewer: true
threshold: 60
toLower: false
indices:
-
name: tags
weight: 100
-
name: categories
weight: 200
- name: tags
weight: 100
- name: categories
weight: 200
markup:
highlight: