hugo.toml 6.1 KB

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