hugo.yaml 9.1 KB

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