hugo.yaml 8.8 KB

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