config.toml 5.5 KB

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