1
0

config.toml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. baseURL = "http://www.example.com"
  2. title = "johndoe"
  3. theme = "hugo-coder"
  4. languageCode = "en"
  5. defaultContentLanguage = "en"
  6. paginate = 20
  7. pygmentsStyle = "b2"
  8. pygmentsCodeFences = true
  9. pygmentsCodeFencesGuessSyntax = true
  10. disqusShortname = "yourdiscussshortname"
  11. [params]
  12. author = "John Doe"
  13. description = "John Doe's personal website"
  14. keywords = "blog,developer,personal"
  15. info = "Full Stack DevOps and Magician"
  16. avatarURL = "images/avatar.jpg"
  17. #gravatar = "john.doe@example.com"
  18. footerContent = "Enter a text here."
  19. dateFormat = "January 2, 2006"
  20. hideFooter = false
  21. hideCredits = false
  22. hideCopyright = false
  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. rtl = false
  27. # Specify light/dark colorscheme
  28. # Supported values:
  29. # "auto" (use preference set by browser)
  30. # "dark" (dark background, light foreground)
  31. # "light" (light background, dark foreground) (default)
  32. colorScheme = "auto"
  33. # Hide the toggle button, along with the associated vertical divider
  34. hideColorSchemeToggle = false
  35. # Series see also post count
  36. maxSeeAlsoItems = 5
  37. # Enable Twemoji
  38. enableTwemoji = true
  39. # Custom CSS
  40. customCSS = []
  41. # Custom SCSS
  42. customSCSS = []
  43. # Custom JS
  44. customJS = []
  45. # If you want to use fathom(https://usefathom.com) for analytics, add this section
  46. [params.fathomAnalytics]
  47. siteID = "ABCDE"
  48. # Default value is cdn.usefathom.com, overwrite this if you are self-hosting
  49. serverURL = "analytics.example.com"
  50. # If you want to use plausible(https://plausible.io) for analytics, add this section
  51. [params.plausibleAnalytics]
  52. domain = "example.com"
  53. # Default value is plausible.io, overwrite this if you are self-hosting or using a custom domain
  54. serverURL = "analytics.example.com"
  55. # If you want to use goatcounter(https://goatcounter.com) for analytics, add this section
  56. [params.goatCounter]
  57. code = "code"
  58. # If you want to use Cloudflare Web Analytics(https://cloudflare.com) for analytics, add this section
  59. [params.cloudflare]
  60. token = "token"
  61. # If you want to use Matomo(https://matomo.org) for analytics, add this section
  62. [params.matomo]
  63. # Default value is "1", overwrite this if you are cloud-hosting
  64. siteID = "ABCDE"
  65. # For cloud-hosting, use provided URL, e.g. example.matomo.cloud
  66. serverURL = "analytics.example.com"
  67. # If you want to use Google Tag Manager(https://analytics.google.com/) for analytics, add this section
  68. [params.googleTagManager]
  69. id = "gid"
  70. # If you want to implement a Content-Security-Policy, add this section
  71. [params.csp]
  72. childsrc = ["'self'"]
  73. fontsrc = [
  74. "'self'",
  75. "https://fonts.gstatic.com",
  76. "https://cdn.jsdelivr.net/"
  77. ]
  78. formaction = ["'self'"]
  79. framesrc = ["'self'"]
  80. imgsrc = ["'self'"]
  81. objectsrc = ["'none'"]
  82. stylesrc = [
  83. "'self'",
  84. "'unsafe-inline'",
  85. "https://fonts.googleapis.com/",
  86. "https://cdn.jsdelivr.net/"
  87. ]
  88. scriptsrc = [
  89. "'self'",
  90. "'unsafe-inline'",
  91. "https://www.google-analytics.com"
  92. ]
  93. prefetchsrc = ["'self'"]
  94. [taxonomies]
  95. category = "categories"
  96. series = "series"
  97. tag = "tags"
  98. author = "authors"
  99. [[params.social]]
  100. name = "Github"
  101. icon = "fa fa-github"
  102. weight = 1
  103. url = "https://github.com/johndoe/"
  104. [[params.social]]
  105. name = "Gitlab"
  106. icon = "fa fa-gitlab"
  107. weight = 2
  108. url = "https://gitlab.com/johndoe/"
  109. [[params.social]]
  110. name = "Twitter"
  111. icon = "fa fa-twitter"
  112. weight = 3
  113. url = "https://twitter.com/johndoe/"
  114. [[params.social]]
  115. name = "LinkedIn"
  116. icon = "fa fa-linkedin"
  117. weight = 4
  118. url = "https://www.linkedin.com/in/johndoe/"
  119. [[params.social]]
  120. name = "Medium"
  121. icon = "fa fa-medium"
  122. weight = 5
  123. url = "https://medium.com/@johndoe"
  124. [[params.social]]
  125. name = "RSS"
  126. icon = "fa fa-rss"
  127. weight = 6
  128. url = "https://myhugosite.com/index.xml"
  129. rel = "alternate"
  130. type = "application/rss+xml"
  131. [languages]
  132. [languages.en]
  133. languageName = "English"
  134. [languages.en.menu]
  135. [[languages.en.menu.main]]
  136. name = "About"
  137. weight = 1
  138. url = "about/"
  139. [[languages.en.menu.main]]
  140. name = "Blog"
  141. weight = 2
  142. url = "posts/"
  143. [[languages.en.menu.main]]
  144. name = "Projects"
  145. weight = 3
  146. url = "projects/"
  147. [[languages.en.menu.main]]
  148. name = "Contact me"
  149. weight = 5
  150. url = "contact/"
  151. [languages.pt-br]
  152. languageName = "Português"
  153. title = "João Ninguém"
  154. [languages.pt-br.params]
  155. author = "João Ninguém"
  156. info = "Full Stack DevOps e Mágico"
  157. description = "Sítio pessoal de João Ninguém"
  158. keywords = "blog,desenvolvedor,pessoal"
  159. footerContent = "Coloque algum texto aqui."
  160. [languages.pt-br.menu]
  161. [[languages.pt-br.menu.main]]
  162. name = "Sobre"
  163. weight = 1
  164. url = "about/"
  165. [[languages.pt-br.menu.main]]
  166. name = "Blog"
  167. weight = 2
  168. url = "posts/"
  169. [[languages.pt-br.menu.main]]
  170. name = "Projetos"
  171. weight = 3
  172. url = "projects/"
  173. [[languages.pt-br.menu.main]]
  174. name = "Contato"
  175. weight = 5
  176. url = "contact/"