config.toml 4.7 KB

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