config.yaml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. baseURL: http://example.org/
  2. languageCode: en-us
  3. title: Example Site
  4. module:
  5. imports:
  6. - path: github.com/hugo-toha/toha/v4
  7. - path: github.com/hugo-toha/hugo-toha.github.io
  8. disable: false
  9. mounts:
  10. - source: content
  11. target: content
  12. - source: layouts
  13. target: layouts
  14. - source: data
  15. target: data
  16. - source: assets
  17. target: assets
  18. - source: static
  19. target: static
  20. mounts:
  21. - source: static/files
  22. target: static/files
  23. - source: ./node_modules/flag-icon-css/flags
  24. target: static/flags
  25. - source: ./node_modules/@fontsource/mulish/files
  26. target: static/files
  27. - source: ./node_modules/katex/dist/fonts
  28. target: static/fonts
  29. # Manage languages
  30. # For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
  31. languages:
  32. en:
  33. languageName: English
  34. weight: 1
  35. bn:
  36. languageName: বাংলা
  37. weight: 3
  38. # Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
  39. # DefaultContentLanguage: bn
  40. # Allow raw html in markdown file
  41. markup:
  42. goldmark:
  43. renderer:
  44. unsafe: true
  45. tableOfContents:
  46. startLevel: 2
  47. endLevel: 6
  48. ordered: false
  49. # At least HTML and JSON are required for the main HTML content and
  50. # client-side JavaScript search
  51. outputs:
  52. home:
  53. - HTML
  54. - RSS
  55. - JSON
  56. # Enable global emoji support
  57. enableEmoji: true
  58. # Site parameters
  59. params:
  60. # Background image of the landing page
  61. background: /images/site/background.jpg
  62. # Provide logos for your site. The inverted logo will be used in the initial
  63. # transparent navbar and the main logo will be used in the non-transparent navbar.
  64. logo:
  65. main: /images/site/main-logo.png
  66. inverted: /images/site/inverted-logo.png
  67. favicon: /images/site/favicon.png
  68. # GitHub repo of your site
  69. gitRepo: https://github.com/hugo-toha/hugo-toha.github.io
  70. # Default branch of your Git repo
  71. gitBranch: main
  72. # Configure the number of section title visible in the top navbar
  73. topNavbar:
  74. maxVisibleSections: 5
  75. # Configure various features of this theme
  76. features:
  77. # Enable dark theme
  78. darkMode:
  79. enable: true
  80. # Enable and configure portfolio
  81. portfolio:
  82. enable: true
  83. # Enable and configure blog posts
  84. blog:
  85. enable: true
  86. # Share post on different social media
  87. shareButtons:
  88. facebook: true
  89. twitter: true
  90. linkedin: true
  91. reddit: true
  92. whatsapp: true
  93. email: true
  94. # tumblr: true
  95. # pocket: true
  96. # diaspora: true
  97. # mastodon: true
  98. # Enable & configure "Notes" features
  99. notes:
  100. enable: true
  101. # Enable comment feature. There, should be only one of them.
  102. comment:
  103. enable: false
  104. services:
  105. disqus:
  106. shortName: toha-example-site
  107. # valine:
  108. # appId: HTV6askWxVo3vOxlqjjaq2hd-MsYXbMMI
  109. # appKey: pVrT3C85KGIuk27t07eh6bUC
  110. # avatar: retro
  111. # placeholder: Share your thought.
  112. # lang: en
  113. # recordIP: true
  114. # enableQQ: true
  115. # utteranc:
  116. # repo: github.com/hugo-toha/hugo-toha.github.io
  117. # issueTerm: title
  118. # theme: github-light
  119. # giscus:
  120. # repo: your-repo/name
  121. # repoID: your-repo-id
  122. # category: your-category
  123. # categoryID: your-category-id
  124. # theme: light
  125. # map: url
  126. # reaction: 1
  127. # metadata: 0
  128. # inputPosition: bottom
  129. # crossOrigin: anonymous
  130. # commento:
  131. # serverURL: cdn.commento.io
  132. # autoInit: true
  133. # hideDeleted: false
  134. # Enable Analytics
  135. analytics:
  136. enabled: false
  137. services:
  138. # cloudflare web analytics
  139. # cloudflare:
  140. # token: "<token>"
  141. # Google Analytics
  142. google:
  143. id: G-H4LBG7NDFZ
  144. # # CounterDev
  145. # counterDev:
  146. # id: <your counterdev id>
  147. # # GoatCounter
  148. # goatCounter:
  149. # code: <your goat counter code>
  150. # # Matomo / Piwik
  151. # matomo:
  152. # instance: matomo.example.com
  153. # siteId: 1 # Or any other number
  154. # Enable Support
  155. support:
  156. enable: false
  157. services:
  158. kofi:
  159. user: hossainemruz
  160. text: Tip Me
  161. textColor: '#f9fafc'
  162. backgroundColor: '#248aaa'
  163. # buymeacoffee:
  164. # user: <your buymeacoffee.com user>
  165. # text: Support me on Buy me a coffee!
  166. # info: Buy me a coffee!
  167. # color: '#FFDD00'
  168. # specify whether you want to show Table of Contents in reading page
  169. toc:
  170. enable: true
  171. # Show tags under the post title
  172. tags:
  173. enable: true
  174. on_card: true # enables tags in post cards
  175. # Specify whether to show flag in the language selector. Default is true.
  176. flags:
  177. enable: true
  178. # # If you want to use different country flag for a language, specify them here.
  179. # flagOverwrites:
  180. # - languageCode: en
  181. # countryCode: us
  182. # Enable this to use `embed-pdf` shortcode.
  183. embedpdf:
  184. enable: false
  185. # Enable this to create flowcharts using shortcodes.
  186. flowchart:
  187. enable: false
  188. services:
  189. # Uncomment for `mermaid` shortcode.
  190. mermaid:
  191. # For config options, see: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
  192. # theme: dark
  193. # Enable this to create mathematic expressions using `$$` blocks
  194. math:
  195. enable: true
  196. services:
  197. # https://katex.org/docs/autorender.html#api for more configurations
  198. katex:
  199. delimiters:
  200. - left: $$
  201. right: $$
  202. display: true
  203. - left: \\[
  204. right: \\]
  205. display: true
  206. - left: $
  207. right: $
  208. display: false
  209. - left: \\(
  210. right: \\)
  211. display: false
  212. # Enable to use custom syntax highlight
  213. # Please note, Hugo comes with it's own html based syntax highlighter.
  214. # Your code block will still be syntax highlighted by hugo.
  215. # For more details: https://gohugo.io/content-management/syntax-highlighting/
  216. # To disable Hugo's builtin syntax highlight,
  217. # see: https://gohugo.io/getting-started/configuration-markup#highlight
  218. # ```
  219. # # config.yaml
  220. # markup:
  221. # # this disables hugo's syntax highlighting.
  222. # codeFences: false
  223. # ```
  224. syntaxHighlight:
  225. enable: true
  226. services:
  227. hljs:
  228. # see: https://highlightjs.readthedocs.io/en/latest/api.html#configure
  229. noHighlightRe: /^no-highlight$/i
  230. # Enable to use `video-player` shortcode
  231. videoPlayer:
  232. enable: false
  233. services:
  234. # convert .js-player class into video player via https://plyr.io/
  235. # Can play HTML5 Video, Audio, Youtube, Vimeo.
  236. # For more info on setup: https://github.com/sampotts/plyr#quick-setup
  237. plyr:
  238. # options doc: https://github.com/sampotts/plyr#options
  239. # fullscreen: true
  240. # Enable reading time support in post cards and in post pages
  241. readingTime:
  242. enable: true
  243. # Provide footer configuration.
  244. footer:
  245. enable: true
  246. # You can provide your custom footer template using this option.
  247. # Put your template in "layouts/partials" folder of your repo.
  248. template: footer.html
  249. # Show/hide navigation in the footer. Default is "true".
  250. navigation:
  251. enable: true
  252. # show custom menus in the footer
  253. customMenus: true
  254. # Show/hide "Contact Me" section in the footer. Default is "true".
  255. contactMe:
  256. enable: true
  257. # Show/hide credentials section in the footer. Default is "true".
  258. credentials:
  259. enable: true
  260. # Show/hide newsletter section in the footer. Default is "true".
  261. # Currently, it supports "mailchimp".
  262. newsletter:
  263. enable: true
  264. provider: mailchimp
  265. mailchimpURL: https://github.us1.list-manage.com/subscribe/post?u=19de52a4603135aae97163fd8&amp;id=094a24c76e
  266. # Show/hide disclaimer notice in the footer. Default is "false".
  267. disclaimer:
  268. enable: true