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 <github@jimmycai.com>2021-10-16 11:14:06 +0300
committerGitHub <noreply@github.com>2021-10-16 11:14:06 +0300
commitb3088be62dce87c2f6663700a2689ee308ce729b (patch)
tree03887495ab3f2ec55751df2931688d194eede386
parent9859ea3f8bc35bcb4fa687f49ec521865f104f05 (diff)
feat: add default parameters to config.yaml (#394)v3.3.0
This will avoid those ugly errors caused by forgetting to copy exampleSite/config.yaml to the site folder
-rw-r--r--config.yaml143
1 files changed, 143 insertions, 0 deletions
diff --git a/config.yaml b/config.yaml
index a192dac..0e5283c 100644
--- a/config.yaml
+++ b/config.yaml
@@ -2,3 +2,146 @@ module:
hugoVersion:
extended: true
min: "0.87.0"
+
+params:
+ mainSections:
+ - post
+ featuredImageField: image
+ rssFullContent: true
+ favicon:
+
+ footer:
+ since:
+ customText:
+
+ dateFormat:
+ published: Jan 02, 2006
+ lastUpdated: Jan 02, 2006 15:04 MST
+
+ sidebar:
+ emoji:
+ subtitle:
+ avatar:
+ enabled: true
+ local: true
+ src: img/avatar.png
+
+ article:
+ math: false
+ toc: true
+ readingTime: true
+ license:
+ enabled: false
+ default: Licensed under CC BY-NC-SA 4.0
+
+ comments:
+ enabled: false
+ provider: disqus
+
+ disqusjs:
+ shortname:
+ apiUrl:
+ apiKey:
+ admin:
+ adminLabel:
+
+ utterances:
+ repo:
+ issueTerm: pathname
+ label:
+
+ remark42:
+ host:
+ site:
+ locale:
+
+ vssue:
+ platform:
+ owner:
+ repo:
+ clientId:
+ clientSecret:
+ autoCreateIssue: false
+
+ # Waline client configuration see: https://waline.js.org/en/reference/client.html
+ waline:
+ serverURL:
+ lang:
+ visitor:
+ avatar:
+ emoji:
+ - https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
+ requiredMeta:
+ - name
+ - email
+ - url
+ placeholder:
+ locale:
+ admin: Admin
+
+ twikoo:
+ envId:
+ region:
+ path:
+ lang:
+
+ giscus:
+ repo:
+ repoID:
+ category:
+ categoryID:
+ mapping:
+ lightTheme:
+ darkTheme:
+ reactionsEnabled: 1
+ emitMetadata: 0
+
+ gitalk:
+ owner:
+ admin:
+ repo:
+ clientID:
+ clientSecret:
+
+ cusdis:
+ host:
+ id:
+
+ widgets:
+ enabled:
+ - search
+ - archives
+ - tag-cloud
+
+ archives:
+ limit: 5
+
+ tagCloud:
+ limit: 10
+
+ opengraph:
+ twitter:
+ # Your Twitter username
+ site:
+
+ # Available values: summary, summary_large_image
+ card: summary_large_image
+
+ defaultImage:
+ opengraph:
+ enabled: false
+ local: false
+ src:
+
+ colorScheme:
+ # Display toggle
+ toggle: true
+
+ # Available values: auto, light, dark
+ default: auto
+
+ imageProcessing:
+ cover:
+ enabled: true
+ content:
+ enabled: true