config.yaml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. baseurl: http://portal.choozmo.com
  2. languageCode: en-us
  3. theme: hugo-theme-stack
  4. paginate: 5
  5. title: ChoozMo Portal
  6. publishdir: /var/www/site
  7. languages:
  8. en:
  9. languageName: English
  10. title: Example Site
  11. weight: 1
  12. zh-cn:
  13. languageName: 中文
  14. title: 演示站点
  15. weight: 2
  16. # Change it to your Disqus shortname before using
  17. disqusShortname: hugo-theme-stack
  18. # GA Tracking ID
  19. googleAnalytics:
  20. # Theme i18n support
  21. # Available values: ar, ca, de, el, en, es, fr, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
  22. DefaultContentLanguage: en
  23. # Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
  24. # This will make .Summary and .WordCount behave correctly for CJK languages.
  25. hasCJKLanguage: false
  26. permalinks:
  27. post: /p/:slug/
  28. page: /:slug/
  29. params:
  30. mainSections:
  31. - post
  32. featuredImageField: image
  33. rssFullContent: true
  34. favicon:
  35. footer:
  36. since: 2020
  37. customText:
  38. dateFormat:
  39. published: Jan 02, 2006
  40. lastUpdated: Jan 02, 2006 15:04 MST
  41. sidebar:
  42. emoji: 🍥
  43. subtitle: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  44. avatar:
  45. enabled: true
  46. local: true
  47. src: img/avatar.png
  48. article:
  49. math: false
  50. toc: true
  51. readingTime: true
  52. license:
  53. enabled: true
  54. default: Licensed under CC BY-NC-SA 4.0
  55. comments:
  56. enabled: true
  57. provider: disqus
  58. disqusjs:
  59. shortname:
  60. apiUrl:
  61. apiKey:
  62. admin:
  63. adminLabel:
  64. utterances:
  65. repo:
  66. issueTerm: pathname
  67. label:
  68. remark42:
  69. host:
  70. site:
  71. locale:
  72. vssue:
  73. platform:
  74. owner:
  75. repo:
  76. clientId:
  77. clientSecret:
  78. autoCreateIssue: false
  79. # Waline client configuration see: https://waline.js.org/en/reference/client.html
  80. waline:
  81. serverURL:
  82. lang:
  83. visitor:
  84. avatar:
  85. emoji:
  86. - https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
  87. requiredMeta:
  88. - name
  89. - email
  90. - url
  91. placeholder:
  92. locale:
  93. admin: Admin
  94. twikoo:
  95. envId:
  96. region:
  97. path:
  98. lang:
  99. # See https://cactus.chat/docs/reference/web-client/#configuration for description of the various options
  100. cactus:
  101. defaultHomeserverUrl: "https://matrix.cactus.chat:8448"
  102. serverName: "cactus.chat"
  103. siteName: "" # You must insert a unique identifier here matching the one you registered (See https://cactus.chat/docs/getting-started/quick-start/#register-your-site)
  104. giscus:
  105. repo:
  106. repoID:
  107. category:
  108. categoryID:
  109. mapping:
  110. lightTheme:
  111. darkTheme:
  112. reactionsEnabled: 1
  113. emitMetadata: 0
  114. gitalk:
  115. owner:
  116. admin:
  117. repo:
  118. clientID:
  119. clientSecret:
  120. cusdis:
  121. host:
  122. id:
  123. widgets:
  124. homepage:
  125. - type: search
  126. - type: archives
  127. params:
  128. limit: 5
  129. - type: categories
  130. params:
  131. limit: 10
  132. - type: tag-cloud
  133. params:
  134. limit: 10
  135. page:
  136. - type: toc
  137. opengraph:
  138. twitter:
  139. # Your Twitter username
  140. site:
  141. # Available values: summary, summary_large_image
  142. card: summary_large_image
  143. defaultImage:
  144. opengraph:
  145. enabled: false
  146. local: false
  147. src:
  148. colorScheme:
  149. # Display toggle
  150. toggle: true
  151. # Available values: auto, light, dark
  152. default: auto
  153. imageProcessing:
  154. cover:
  155. enabled: true
  156. content:
  157. enabled: true
  158. ### Custom menu
  159. ### See https://docs.stack.jimmycai.com/configuration/custom-menu.html
  160. ### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
  161. menu:
  162. main: []
  163. social:
  164. - identifier: github
  165. name: GitHub
  166. url: https://github.com/CaiJimmy/hugo-theme-stack
  167. params:
  168. icon: brand-github
  169. - identifier: twitter
  170. name: Twitter
  171. url: https://twitter.com
  172. params:
  173. icon: brand-twitter
  174. related:
  175. includeNewer: true
  176. threshold: 60
  177. toLower: false
  178. indices:
  179. - name: tags
  180. weight: 100
  181. - name: categories
  182. weight: 200
  183. markup:
  184. goldmark:
  185. renderer:
  186. ## Set to true if you have HTML content inside Markdown
  187. unsafe: false
  188. tableOfContents:
  189. endLevel: 4
  190. ordered: true
  191. startLevel: 2
  192. highlight:
  193. noClasses: false
  194. codeFences: true
  195. guessSyntax: true
  196. lineNoStart: 1
  197. lineNos: true
  198. lineNumbersInTable: true
  199. tabWidth: 4