config.yaml 7.9 KB

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