hugo.yaml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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. # Enable Support
  160. support:
  161. enable: false
  162. services:
  163. kofi:
  164. user: hossainemruz
  165. text: Tip Me
  166. textColor: '#f9fafc'
  167. backgroundColor: '#248aaa'
  168. # buymeacoffee:
  169. # user: <your buymeacoffee.com user>
  170. # text: Support me on Buy me a coffee!
  171. # info: Buy me a coffee!
  172. # color: '#FFDD00'
  173. # specify whether you want to show Table of Contents in reading page
  174. toc:
  175. enable: true
  176. # Show tags under the post title
  177. tags:
  178. enable: true
  179. on_card: true # enables tags in post cards
  180. # Specify whether to show flag in the language selector. Default is true.
  181. flags:
  182. enable: true
  183. # # If you want to use different country flag for a language, specify them here.
  184. # flagOverwrites:
  185. # - languageCode: en
  186. # countryCode: us
  187. # Enable this to use `embed-pdf` shortcode.
  188. embedpdf:
  189. enable: false
  190. # Enable this to create flowcharts using shortcodes.
  191. flowchart:
  192. enable: false
  193. services:
  194. # Uncomment for `mermaid` shortcode.
  195. mermaid:
  196. # For config options, see: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
  197. # theme: dark
  198. # Enable this to create mathematic expressions using `$$` blocks
  199. math:
  200. enable: true
  201. services:
  202. # https://katex.org/docs/autorender.html#api for more configurations
  203. katex:
  204. delimiters:
  205. - left: $$
  206. right: $$
  207. display: true
  208. - left: \\[
  209. right: \\]
  210. display: true
  211. - left: $
  212. right: $
  213. display: false
  214. - left: \\(
  215. right: \\)
  216. display: false
  217. # Enable to use custom syntax highlight
  218. # Please note, Hugo comes with it's own html based syntax highlighter.
  219. # Your code block will still be syntax highlighted by hugo.
  220. # For more details: https://gohugo.io/content-management/syntax-highlighting/
  221. # To disable Hugo's builtin syntax highlight,
  222. # see: https://gohugo.io/getting-started/configuration-markup#highlight
  223. # ```
  224. # # config.yaml
  225. # markup:
  226. # # this disables hugo's syntax highlighting.
  227. # codeFences: false
  228. # ```
  229. syntaxHighlight:
  230. enable: true
  231. services:
  232. hljs:
  233. # see: https://highlightjs.readthedocs.io/en/latest/api.html#configure
  234. noHighlightRe: /^no-highlight$/i
  235. # Enable to use `video-player` shortcode
  236. videoPlayer:
  237. enable: false
  238. services:
  239. # convert .js-player class into video player via https://plyr.io/
  240. # Can play HTML5 Video, Audio, Youtube, Vimeo.
  241. # For more info on setup: https://github.com/sampotts/plyr#quick-setup
  242. plyr:
  243. # options doc: https://github.com/sampotts/plyr#options
  244. # fullscreen: true
  245. # Enable reading time support in post cards and in post pages
  246. readingTime:
  247. enable: true
  248. # Provide footer configuration.
  249. footer:
  250. enable: true
  251. # You can provide your custom footer template using this option.
  252. # Put your template in "layouts/partials" folder of your repo.
  253. template: footer.html
  254. # Show/hide navigation in the footer. Default is "true".
  255. navigation:
  256. enable: true
  257. # show custom menus in the footer
  258. customMenus: true
  259. # Show/hide "Contact Me" section in the footer. Default is "true".
  260. contactMe:
  261. enable: true
  262. # Show/hide credentials section in the footer. Default is "true".
  263. credentials:
  264. enable: true
  265. # Show/hide newsletter section in the footer. Default is "true".
  266. # Currently, it supports "mailchimp".
  267. newsletter:
  268. enable: true
  269. provider: mailchimp
  270. mailchimpURL: https://github.us1.list-manage.com/subscribe/post?u=19de52a4603135aae97163fd8&amp;id=094a24c76e
  271. # Show/hide disclaimer notice in the footer. Default is "false".
  272. disclaimer:
  273. enable: true