1
0

hugo.toml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. baseURL = "http://www.example.com"
  2. title = "johndoe"
  3. theme = "hugo-coder"
  4. languageCode = "en"
  5. defaultContentLanguage = "en"
  6. paginate = 6
  7. enableEmoji = true
  8. [services]
  9. [services.disqus]
  10. # Enable Disqus comments
  11. # shortname = "yourdiscussshortname"
  12. [markup.highlight]
  13. noClasses = false
  14. [params]
  15. author = "John Doe"
  16. # license = '<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA-4.0</a>'
  17. description = "John Doe's personal website"
  18. keywords = "blog,developer,personal"
  19. info = ["Full Stack DevOps", "Magician"]
  20. avatarURL = "images/avatar.jpg"
  21. #gravatar = "john.doe@example.com"
  22. dateFormat = "January 2, 2006"
  23. since = 2019
  24. # Git Commit in Footer, uncomment the line below to enable it
  25. commit = "https://github.com/luizdepra/hugo-coder/tree/"
  26. # Right To Left, shift content direction for languages such as Arabic
  27. rtl = false
  28. # Specify light/dark colorscheme
  29. # Supported values:
  30. # "auto" (use preference set by browser)
  31. # "dark" (dark background, light foreground)
  32. # "light" (light background, dark foreground) (default)
  33. colorScheme = "auto"
  34. # Hide the toggle button, along with the associated vertical divider
  35. hideColorSchemeToggle = false
  36. # Series see also post count
  37. maxSeeAlsoItems = 5
  38. # Custom CSS
  39. customCSS = []
  40. # Custom SCSS, file path is relative to Hugo's asset folder (default: {your project root}/assets)
  41. customSCSS = []
  42. # Custom JS
  43. customJS = []
  44. # Custom remote JS files
  45. customRemoteJS = []
  46. # If you want to use fathom(https://usefathom.com) for analytics, add this section
  47. # [params.fathomAnalytics]
  48. # siteID = "ABCDE"
  49. # serverURL = "analytics.example.com" # Default value is cdn.usefathom.com, overwrite this if you are self-hosting
  50. # If you want to use plausible(https://plausible.io) for analytics, add this section
  51. # [params.plausibleAnalytics]
  52. # domain = "example.com"
  53. # serverURL = "analytics.example.com" # Default value is plausible.io, overwrite this if you are self-hosting or using a custom domain
  54. # outboundLinksTracking = true
  55. # fileDownloadsTracking = true
  56. # If you want to use goatcounter(https://goatcounter.com) for analytics, add this section
  57. # [params.goatCounter]
  58. # code = "code"
  59. # If you want to use Cloudflare Web Analytics(https://cloudflare.com) for analytics, add this section
  60. # [params.cloudflare]
  61. # token = "token"
  62. # If you want to use Matomo(https://matomo.org) for analytics, add this section
  63. # [params.matomo]
  64. # siteID = "ABCDE" # Default value is "1", overwrite this if you are cloud-hosting
  65. # serverURL = "analytics.example.com" # For cloud-hosting, use provided URL, e.g. example.matomo.cloud
  66. # If you want to use Google Tag Manager(https://analytics.google.com/) for analytics, add this section
  67. # [params.googleTagManager]
  68. # id = "gid"
  69. # If you want to use Yandex Metrika(https://metrika.yandex.ru) for analytics, add this section
  70. # [params.yandexMetrika]
  71. # id = "gid"
  72. # If you want to use Application Insights(https://azure.com/) for analytics, add this section
  73. # [params.applicationInsights]
  74. # connectionString = "connectionString"
  75. # If you want to use microanalytics.io for analytics, add this section
  76. # [params.microAnalytics]
  77. # id = "ABCDE"
  78. # dnt = "false" # respect DNT tracker, "true" by default
  79. # If you want to use Pirsch(https://pirsch.io) for analytics, add this section
  80. # [params.pirsch]
  81. # code = "ABCDE"
  82. # If you want to use Umami(https://umami.is) for analytics, add this section
  83. # [params.umami]
  84. # siteID = "ABCDE"
  85. # scriptURL = "analytics.REGION.umami.is/SCRIPTNAME.js"
  86. # If you want to implement a Content-Security-Policy, add this section
  87. # [params.csp]
  88. # childsrc = ["'self'"]
  89. # fontsrc = ["'self'", "https://fonts.gstatic.com", "https://cdn.jsdelivr.net/"]
  90. # formaction = ["'self'"]
  91. # framesrc = ["'self'", "https://www.youtube.com"]
  92. # imgsrc = ["'self'"]
  93. # objectsrc = ["'none'"]
  94. # stylesrc = [
  95. # "'self'",
  96. # "'unsafe-inline'",
  97. # "https://fonts.googleapis.com/",
  98. # "https://cdn.jsdelivr.net/",
  99. # ]
  100. # scriptsrc = [
  101. # "'self'",
  102. # "'unsafe-inline'",
  103. # "https://www.google-analytics.com",
  104. # "https://cdn.jsdelivr.net/",
  105. # ]
  106. # prefetchsrc = ["'self'"]
  107. # # connect-src directive – defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource
  108. # connectsrc = ["'self'", "https://www.google-analytics.com"]
  109. [taxonomies]
  110. category = "categories"
  111. series = "series"
  112. tag = "tags"
  113. author = "authors"
  114. [[params.social]]
  115. name = "Github"
  116. icon = "fa-brands fa-github fa-2x"
  117. weight = 1
  118. url = "https://github.com/johndoe/"
  119. [[params.social]]
  120. name = "Gitlab"
  121. icon = "fa-brands fa-gitlab fa-2x"
  122. weight = 2
  123. url = "https://gitlab.com/johndoe/"
  124. [[params.social]]
  125. name = "Twitter"
  126. icon = "fa-brands fa-x-twitter fa-2x"
  127. weight = 3
  128. url = "https://twitter.com/johndoe/"
  129. [[params.social]]
  130. name = "LinkedIn"
  131. icon = "fa-brands fa-linkedin fa-2x"
  132. weight = 4
  133. url = "https://www.linkedin.com/in/johndoe/"
  134. [[params.social]]
  135. name = "Medium"
  136. icon = "fa-brands fa-medium fa-2x"
  137. weight = 5
  138. url = "https://medium.com/@johndoe"
  139. [[params.social]]
  140. name = "RSS"
  141. icon = "fa-solid fa-rss fa-2x"
  142. weight = 6
  143. url = "https://myhugosite.com/index.xml"
  144. rel = "alternate"
  145. type = "application/rss+xml"
  146. [languages.en]
  147. languageName = ":uk:"
  148. [[languages.en.menu.main]]
  149. name = "About"
  150. weight = 1
  151. url = "about/"
  152. [[languages.en.menu.main]]
  153. name = "Blog"
  154. weight = 2
  155. url = "posts/"
  156. [[languages.en.menu.main]]
  157. name = "Projects"
  158. weight = 3
  159. url = "projects/"
  160. [[languages.en.menu.main]]
  161. name = "Contact me"
  162. weight = 5
  163. url = "contact/"
  164. [languages.pt-br]
  165. languageName = ":brazil:"
  166. title = "João Ninguém"
  167. [languages.pt-br.params]
  168. author = "João Ninguém"
  169. info = "Full Stack DevOps e Mágico"
  170. description = "Sítio pessoal de João Ninguém"
  171. keywords = "blog,desenvolvedor,pessoal"
  172. [[languages.pt-br.menu.main]]
  173. name = "Sobre"
  174. weight = 1
  175. url = "about/"
  176. [[languages.pt-br.menu.main]]
  177. name = "Blog"
  178. weight = 2
  179. url = "posts/"
  180. [[languages.pt-br.menu.main]]
  181. name = "Projetos"
  182. weight = 3
  183. url = "projects/"
  184. [[languages.pt-br.menu.main]]
  185. name = "Contato"
  186. weight = 5
  187. url = "contact/"