config.yaml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. baseURL: http://example.org/
  2. languageCode: en-us
  3. title: Example Site
  4. module:
  5. imports:
  6. - path: github.com/hugo-toha/hugo-toha.github.io
  7. disable: false
  8. mounts:
  9. - source: content
  10. target: content
  11. - source: layouts
  12. target: layouts
  13. - source: data
  14. target: data
  15. - source: assets
  16. target: assets
  17. - source: static
  18. target: static
  19. - path: github.com/hugo-toha/toha/v4
  20. # Manage languages
  21. # For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
  22. languages:
  23. en:
  24. languageName: English
  25. weight: 1
  26. bn:
  27. languageName: বাংলা
  28. weight: 3
  29. # Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
  30. # DefaultContentLanguage: bn
  31. # Allow raw html in markdown file
  32. markup:
  33. goldmark:
  34. renderer:
  35. unsafe: true
  36. tableOfContents:
  37. startLevel: 2
  38. endLevel: 6
  39. ordered: false
  40. # At least HTML and JSON are required for the main HTML content and
  41. # client-side JavaScript search
  42. outputs:
  43. home:
  44. - HTML
  45. - RSS
  46. - JSON
  47. # Enable global emoji support
  48. enableEmoji: true
  49. # Site parameters
  50. params:
  51. # Background image of the landing page
  52. background: /images/site/background.jpg
  53. # Provide logos for your site. The inverted logo will be used in the initial
  54. # transparent navbar and the main logo will be used in the non-transparent navbar.
  55. logo:
  56. main: /images/site/main-logo.png
  57. inverted: /images/site/inverted-logo.png
  58. favicon: /images/site/favicon.png
  59. # GitHub repo of your site
  60. gitRepo: https://github.com/hugo-toha/hugo-toha.github.io
  61. # Default branch of your Git repo
  62. gitBranch: main
  63. # Configure the number of section title visible in the top navbar
  64. topNavbar:
  65. maxVisibleSections: 5
  66. # Configure various features of this theme
  67. features:
  68. # Enable dark theme
  69. darkMode:
  70. enable: false
  71. services:
  72. darkreader:
  73. defaultColorScheme: system # options are 'system', 'dark', 'light'
  74. fixes:
  75. invert: ['img[src$=".svg"]'] # inverts svg colors.
  76. theme:
  77. brightness: 100
  78. contrast: 100
  79. sepia: 0
  80. # Enable and configure portfolio
  81. portfolio:
  82. enable: true
  83. # Enable and configure blog posts
  84. blog:
  85. enable: true
  86. # Share post on different social media
  87. shareButtons:
  88. facebook: true
  89. twitter: true
  90. linkedin: true
  91. reddit: true
  92. whatsapp: true
  93. email: true
  94. # tumblr: true
  95. # pocket: true
  96. # diaspora: true
  97. # mastodon: true
  98. # Enable & configure "Notes" features
  99. notes:
  100. enable: true
  101. # Enable comment feature. There, should be only one of them.
  102. comment:
  103. enable: false
  104. services:
  105. disqus:
  106. shortName: toha-example-site
  107. # valine:
  108. # appId: HTV6askWxVo3vOxlqjjaq2hd-MsYXbMMI
  109. # appKey: pVrT3C85KGIuk27t07eh6bUC
  110. # avatar: retro
  111. # placeholder: Share your thought.
  112. # lang: en
  113. # recordIP: true
  114. # enableQQ: true
  115. # utteranc:
  116. # repo: github.com/hugo-toha/hugo-toha.github.io
  117. # issueTerm: title
  118. # theme: github-light
  119. # giscus:
  120. # repo: your-repo/name
  121. # repoID: your-repo-id
  122. # category: your-category
  123. # categoryID: your-category-id
  124. # theme: light
  125. # map: url
  126. # reaction: 1
  127. # metadata: 0
  128. # inputPosition: bottom
  129. # crossOrigin: anonymous
  130. # commento:
  131. # serverURL: cdn.commento.io
  132. # autoInit: true
  133. # hideDeleted: false
  134. # Enable Analytics
  135. analytics:
  136. enabled: false
  137. services:
  138. # Google Analytics
  139. google:
  140. id: G-H4LBG7NDFZ
  141. # # CounterDev
  142. # counterDev:
  143. # id: <your counterdev id>
  144. # # GoatCounter
  145. # goatCounter:
  146. # code: <your goat counter code>
  147. # # Matomo / Piwik
  148. # matomo:
  149. # instance: matomo.example.com
  150. # siteId: 1 # Or any other number
  151. # Enable Support
  152. support:
  153. enable: false
  154. services:
  155. kofi:
  156. user: hossainemruz
  157. text: Tip Me
  158. textColor: '#f9fafc'
  159. backgroundColor: '#248aaa'
  160. # buymeacoffee:
  161. # user: <your buymeacoffee.com user>
  162. # text: Support me on Buy me a coffee!
  163. # info: Buy me a coffee!
  164. # color: '#FFDD00'
  165. # specify whether you want to show Table of Contents in reading page
  166. toc:
  167. enable: true
  168. # Show tags under the post title
  169. tags:
  170. enable: true
  171. # Specify whether to show flag in the language selector. Default is true.
  172. flags:
  173. enable: true
  174. # # If you want to use different country flag for a language, specify them here.
  175. # flagOverwrites:
  176. # - languageCode: en
  177. # countryCode: us
  178. # Enable this to use `embed-pdf` shortcode.
  179. embedpdf:
  180. enable: false
  181. # Enable this to create flowcharts using shortcodes.
  182. flowchart:
  183. enable: false
  184. services:
  185. # Uncomment for `mermaid` shortcode.
  186. mermaid:
  187. # For config options, see: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
  188. # theme: dark
  189. # Enable this to create mathematic expressions using `$$` blocks
  190. math:
  191. enable: false
  192. services:
  193. # https://katex.org/docs/autorender.html#api for more configurations
  194. katex:
  195. delimiters:
  196. - left: $$
  197. right: $$
  198. display: true
  199. - left: \\[
  200. right: \\]
  201. display: true
  202. - left: $
  203. right: $
  204. display: false
  205. - left: \\(
  206. right: \\)
  207. display: false
  208. # Enable to use custom syntax highlight
  209. # Please note, Hugo comes with it's own html based syntax highlighter.
  210. # Your code block will still be syntax highlighted by hugo.
  211. # For more details: https://gohugo.io/content-management/syntax-highlighting/
  212. # To disable Hugo's builtin syntax highlight,
  213. # see: https://gohugo.io/getting-started/configuration-markup#highlight
  214. # ```
  215. # # config.yaml
  216. # markup:
  217. # # this disables hugo's syntax highlighting.
  218. # codeFences: false
  219. # ```
  220. syntaxHighlight:
  221. enable: true
  222. services:
  223. hljs:
  224. # see: https://highlightjs.readthedocs.io/en/latest/api.html#configure
  225. noHighlightRe: /^no-highlight$/i
  226. # Enable to use `video-player` shortcode
  227. videoPlayer:
  228. enable: false
  229. services:
  230. # convert .js-player class into video player via https://plyr.io/
  231. # Can play HTML5 Video, Audio, Youtube, Vimeo.
  232. # For more info on setup: https://github.com/sampotts/plyr#quick-setup
  233. plyr:
  234. # options doc: https://github.com/sampotts/plyr#options
  235. # fullscreen: true
  236. # Provide footer configuration.
  237. footer:
  238. enable: true
  239. # You can provide your custom footer template using this option.
  240. # Put your template in "layouts/partials" folder of your repo.
  241. template: footer.html
  242. # Show/hide navigation in the footer. Default is "true".
  243. navigation:
  244. enable: true
  245. # show custom menus in the footer
  246. customMenus: true
  247. # Show/hide "Contact Me" section in the footer. Default is "true".
  248. contactMe:
  249. enable: true
  250. # Show/hide credentials section in the footer. Default is "true".
  251. credentials:
  252. enable: true
  253. # Show/hide newsletter section in the footer. Default is "true".
  254. # Currently, it supports "mailchimp".
  255. newsletter:
  256. enable: true
  257. provider: mailchimp
  258. mailchimpURL: https://github.us1.list-manage.com/subscribe/post?u=19de52a4603135aae97163fd8&amp;id=094a24c76e
  259. # Show/hide disclaimer notice in the footer. Default is "false".
  260. disclaimer:
  261. enable: true