1
0

config.toml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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 implement a Content-Security-Policy, add this section
  68. [params.csp]
  69. childsrc = ["'self'"]
  70. fontsrc = [
  71. "'self'",
  72. "https://fonts.gstatic.com",
  73. "https://cdn.jsdelivr.net/"
  74. ]
  75. formaction = ["'self'"]
  76. framesrc = ["'self'"]
  77. imgsrc = ["'self'"]
  78. objectsrc = ["'none'"]
  79. stylesrc = [
  80. "'self'",
  81. "'unsafe-inline'",
  82. "https://fonts.googleapis.com/",
  83. "https://cdn.jsdelivr.net/"
  84. ]
  85. scriptsrc = [
  86. "'self'",
  87. "'unsafe-inline'",
  88. "https://www.google-analytics.com"
  89. ]
  90. prefetchsrc = ["'self'"]
  91. [taxonomies]
  92. category = "categories"
  93. series = "series"
  94. tag = "tags"
  95. author = "authors"
  96. [[params.social]]
  97. name = "Github"
  98. icon = "fa fa-github"
  99. weight = 1
  100. url = "https://github.com/johndoe/"
  101. [[params.social]]
  102. name = "Gitlab"
  103. icon = "fa fa-gitlab"
  104. weight = 2
  105. url = "https://gitlab.com/johndoe/"
  106. [[params.social]]
  107. name = "Twitter"
  108. icon = "fa fa-twitter"
  109. weight = 3
  110. url = "https://twitter.com/johndoe/"
  111. [[params.social]]
  112. name = "LinkedIn"
  113. icon = "fa fa-linkedin"
  114. weight = 4
  115. url = "https://www.linkedin.com/in/johndoe/"
  116. [[params.social]]
  117. name = "Medium"
  118. icon = "fa fa-medium"
  119. weight = 5
  120. url = "https://medium.com/@johndoe"
  121. [[params.social]]
  122. name = "RSS"
  123. icon = "fa fa-rss"
  124. weight = 6
  125. url = "https://myhugosite.com/index.xml"
  126. rel = "alternate"
  127. type = "application/rss+xml"
  128. [languages]
  129. [languages.en]
  130. languageName = "English"
  131. [languages.en.menu]
  132. [[languages.en.menu.main]]
  133. name = "About"
  134. weight = 1
  135. url = "about/"
  136. [[languages.en.menu.main]]
  137. name = "Blog"
  138. weight = 2
  139. url = "posts/"
  140. [[languages.en.menu.main]]
  141. name = "Projects"
  142. weight = 3
  143. url = "projects/"
  144. [[languages.en.menu.main]]
  145. name = "Contact me"
  146. weight = 5
  147. url = "contact/"
  148. [languages.pt-br]
  149. languageName = "Português"
  150. title = "João Ninguém"
  151. [languages.pt-br.params]
  152. author = "João Ninguém"
  153. info = "Full Stack DevOps e Mágico"
  154. description = "Sítio pessoal de João Ninguém"
  155. keywords = "blog,desenvolvedor,pessoal"
  156. footerContent = "Coloque algum texto aqui."
  157. [languages.pt-br.menu]
  158. [[languages.pt-br.menu.main]]
  159. name = "Sobre"
  160. weight = 1
  161. url = "about/"
  162. [[languages.pt-br.menu.main]]
  163. name = "Blog"
  164. weight = 2
  165. url = "posts/"
  166. [[languages.pt-br.menu.main]]
  167. name = "Projetos"
  168. weight = 3
  169. url = "projects/"
  170. [[languages.pt-br.menu.main]]
  171. name = "Contato"
  172. weight = 5
  173. url = "contact/"