hugo.yaml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  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. showAuthor: true
  87. # Share post on different social media
  88. shareButtons:
  89. facebook: true
  90. twitter: true
  91. linkedin: true
  92. reddit: true
  93. whatsapp: true
  94. email: true
  95. # tumblr: true
  96. # pocket: true
  97. # diaspora: true
  98. # mastodon: true
  99. # Enable & configure "Notes" features
  100. notes:
  101. enable: true
  102. # Enable comment feature. There, should be only one of them.
  103. comment:
  104. enable: false
  105. services:
  106. disqus:
  107. shortName: toha-example-site
  108. # valine:
  109. # appId: HTV6askWxVo3vOxlqjjaq2hd-MsYXbMMI
  110. # appKey: pVrT3C85KGIuk27t07eh6bUC
  111. # avatar: retro
  112. # placeholder: Share your thought.
  113. # lang: en
  114. # recordIP: true
  115. # enableQQ: true
  116. # utteranc:
  117. # repo: github.com/hugo-toha/hugo-toha.github.io
  118. # issueTerm: title
  119. # theme: github-light
  120. # giscus:
  121. # repo: your-repo/name
  122. # repoID: your-repo-id
  123. # category: your-category
  124. # categoryID: your-category-id
  125. # theme: light
  126. # map: url
  127. # reaction: 1
  128. # metadata: 0
  129. # inputPosition: bottom
  130. # crossOrigin: anonymous
  131. # commento:
  132. # serverURL: cdn.commento.io
  133. # autoInit: true
  134. # hideDeleted: false
  135. # Enable Analytics
  136. analytics:
  137. enabled: false
  138. services:
  139. # cloudflare web analytics
  140. # cloudflare:
  141. # token: "<token>"
  142. # Google Analytics
  143. google:
  144. id: G-H4LBG7NDFZ
  145. # # CounterDev
  146. # counterDev:
  147. # id: <your counterdev id>
  148. # # GoatCounter
  149. # goatCounter:
  150. # code: <your goat counter code>
  151. # # Matomo / Piwik
  152. # matomo:
  153. # instance: matomo.example.com
  154. # siteId: 1 # Or any other number
  155. # Enable Support
  156. support:
  157. enable: false
  158. services:
  159. kofi:
  160. user: hossainemruz
  161. text: Tip Me
  162. textColor: '#f9fafc'
  163. backgroundColor: '#248aaa'
  164. # buymeacoffee:
  165. # user: <your buymeacoffee.com user>
  166. # text: Support me on Buy me a coffee!
  167. # info: Buy me a coffee!
  168. # color: '#FFDD00'
  169. # specify whether you want to show Table of Contents in reading page
  170. toc:
  171. enable: true
  172. # Show tags under the post title
  173. tags:
  174. enable: true
  175. on_card: true # enables tags in post cards
  176. # Specify whether to show flag in the language selector. Default is true.
  177. flags:
  178. enable: true
  179. # # If you want to use different country flag for a language, specify them here.
  180. # flagOverwrites:
  181. # - languageCode: en
  182. # countryCode: us
  183. # Enable this to use `embed-pdf` shortcode.
  184. embedpdf:
  185. enable: false
  186. # Enable this to create flowcharts using shortcodes.
  187. flowchart:
  188. enable: false
  189. services:
  190. # Uncomment for `mermaid` shortcode.
  191. mermaid:
  192. # For config options, see: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
  193. # theme: dark
  194. # Enable this to create mathematic expressions using `$$` blocks
  195. math:
  196. enable: true
  197. services:
  198. # https://katex.org/docs/autorender.html#api for more configurations
  199. katex:
  200. delimiters:
  201. - left: $$
  202. right: $$
  203. display: true
  204. - left: \\[
  205. right: \\]
  206. display: true
  207. - left: $
  208. right: $
  209. display: false
  210. - left: \\(
  211. right: \\)
  212. display: false
  213. # Enable to use custom syntax highlight
  214. # Please note, Hugo comes with it's own html based syntax highlighter.
  215. # Your code block will still be syntax highlighted by hugo.
  216. # For more details: https://gohugo.io/content-management/syntax-highlighting/
  217. # To disable Hugo's builtin syntax highlight,
  218. # see: https://gohugo.io/getting-started/configuration-markup#highlight
  219. # ```
  220. # # config.yaml
  221. # markup:
  222. # # this disables hugo's syntax highlighting.
  223. # codeFences: false
  224. # ```
  225. syntaxHighlight:
  226. enable: true
  227. services:
  228. hljs:
  229. # see: https://highlightjs.readthedocs.io/en/latest/api.html#configure
  230. noHighlightRe: /^no-highlight$/i
  231. # Enable to use `video-player` shortcode
  232. videoPlayer:
  233. enable: false
  234. services:
  235. # convert .js-player class into video player via https://plyr.io/
  236. # Can play HTML5 Video, Audio, Youtube, Vimeo.
  237. # For more info on setup: https://github.com/sampotts/plyr#quick-setup
  238. plyr:
  239. # options doc: https://github.com/sampotts/plyr#options
  240. # fullscreen: true
  241. # Enable reading time support in post cards and in post pages
  242. readingTime:
  243. enable: true
  244. # Provide footer configuration.
  245. footer:
  246. enable: true
  247. # You can provide your custom footer template using this option.
  248. # Put your template in "layouts/partials" folder of your repo.
  249. template: footer.html
  250. # Show/hide navigation in the footer. Default is "true".
  251. navigation:
  252. enable: true
  253. # show custom menus in the footer
  254. customMenus: true
  255. # Show/hide "Contact Me" section in the footer. Default is "true".
  256. contactMe:
  257. enable: true
  258. # Show/hide credentials section in the footer. Default is "true".
  259. credentials:
  260. enable: true
  261. # Show/hide newsletter section in the footer. Default is "true".
  262. # Currently, it supports "mailchimp".
  263. newsletter:
  264. enable: true
  265. provider: mailchimp
  266. mailchimpURL: https://github.us1.list-manage.com/subscribe/post?u=19de52a4603135aae97163fd8&amp;id=094a24c76e
  267. # Show/hide disclaimer notice in the footer. Default is "false".
  268. disclaimer:
  269. enable: true