config.yaml 5.3 KB

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