mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
style(config): formatting & add i18n comment
This commit is contained in:
parent
d6688ce3d4
commit
3a6874b7b2
@ -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/
|
||||||
@ -37,9 +42,9 @@ params:
|
|||||||
enabled: true
|
enabled: true
|
||||||
provider: disqus
|
provider: disqus
|
||||||
utterances:
|
utterances:
|
||||||
repo:
|
repo:
|
||||||
issueTerm: pathname
|
issueTerm: pathname
|
||||||
label:
|
label:
|
||||||
theme: preferred-color-scheme
|
theme: preferred-color-scheme
|
||||||
|
|
||||||
widgets:
|
widgets:
|
||||||
@ -51,59 +56,57 @@ params:
|
|||||||
archives:
|
archives:
|
||||||
limit: 5
|
limit: 5
|
||||||
path: archives
|
path: archives
|
||||||
|
|
||||||
tagCloud:
|
tagCloud:
|
||||||
limit: 10
|
limit: 10
|
||||||
|
|
||||||
opengraph:
|
opengraph:
|
||||||
twitter:
|
twitter:
|
||||||
site:
|
site:
|
||||||
card: summary_large_image
|
card: summary_large_image
|
||||||
|
|
||||||
defaultImage:
|
defaultImage:
|
||||||
opengraph:
|
opengraph:
|
||||||
enabled: false
|
enabled: false
|
||||||
local: false
|
local: false
|
||||||
src:
|
src:
|
||||||
|
|
||||||
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
|
pre: search
|
||||||
pre: search
|
|
||||||
|
|
||||||
related:
|
related:
|
||||||
includeNewer: true
|
includeNewer: true
|
||||||
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:
|
||||||
highlight:
|
highlight:
|
||||||
|
Loading…
Reference in New Issue
Block a user