hugo.yaml 8.7 KB

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