hugo.yaml 8.3 KB

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