config.toml 4.9 KB

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