config.toml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. noClasses = false
  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 use Pirsch(https://pirsch.io) for analytics, add this section
  78. # [params.pirsch]
  79. # code = "ABCDE"
  80. # If you want to use Umami(https://umami.is) for analytics, add this section
  81. # [params.umami]
  82. # siteID = "ABCDE"
  83. # scriptURL = "analytics.REGION.umami.is/SCRIPTNAME.js"
  84. # If you want to implement a Content-Security-Policy, add this section
  85. # [params.csp]
  86. # childsrc = ["'self'"]
  87. # fontsrc = ["'self'", "https://fonts.gstatic.com", "https://cdn.jsdelivr.net/"]
  88. # formaction = ["'self'"]
  89. # framesrc = ["'self'", "https://www.youtube.com"]
  90. # imgsrc = ["'self'"]
  91. # objectsrc = ["'none'"]
  92. # stylesrc = [
  93. # "'self'",
  94. # "'unsafe-inline'",
  95. # "https://fonts.googleapis.com/",
  96. # "https://cdn.jsdelivr.net/",
  97. # ]
  98. # scriptsrc = [
  99. # "'self'",
  100. # "'unsafe-inline'",
  101. # "https://www.google-analytics.com",
  102. # "https://cdn.jsdelivr.net/",
  103. # ]
  104. # prefetchsrc = ["'self'"]
  105. # # connect-src directive – defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource
  106. # connectsrc = ["'self'", "https://www.google-analytics.com"]
  107. [taxonomies]
  108. category = "categories"
  109. series = "series"
  110. tag = "tags"
  111. author = "authors"
  112. [[params.social]]
  113. name = "Github"
  114. icon = "fa fa-2x fa-github"
  115. weight = 1
  116. url = "https://github.com/johndoe/"
  117. [[params.social]]
  118. name = "Gitlab"
  119. icon = "fa fa-2x fa-gitlab"
  120. weight = 2
  121. url = "https://gitlab.com/johndoe/"
  122. [[params.social]]
  123. name = "Twitter"
  124. icon = "fa fa-2x fa-twitter"
  125. weight = 3
  126. url = "https://twitter.com/johndoe/"
  127. [[params.social]]
  128. name = "LinkedIn"
  129. icon = "fa fa-2x fa-linkedin"
  130. weight = 4
  131. url = "https://www.linkedin.com/in/johndoe/"
  132. [[params.social]]
  133. name = "Medium"
  134. icon = "fa fa-2x fa-medium"
  135. weight = 5
  136. url = "https://medium.com/@johndoe"
  137. [[params.social]]
  138. name = "RSS"
  139. icon = "fa fa-2x fa-rss"
  140. weight = 6
  141. url = "https://myhugosite.com/index.xml"
  142. rel = "alternate"
  143. type = "application/rss+xml"
  144. [languages.en]
  145. languageName = ":uk:"
  146. [[languages.en.menu.main]]
  147. name = "About"
  148. weight = 1
  149. url = "about/"
  150. [[languages.en.menu.main]]
  151. name = "Blog"
  152. weight = 2
  153. url = "posts/"
  154. [[languages.en.menu.main]]
  155. name = "Projects"
  156. weight = 3
  157. url = "projects/"
  158. [[languages.en.menu.main]]
  159. name = "Contact me"
  160. weight = 5
  161. url = "contact/"
  162. [languages.pt-br]
  163. languageName = ":brazil:"
  164. title = "João Ninguém"
  165. [languages.pt-br.params]
  166. author = "João Ninguém"
  167. info = "Full Stack DevOps e Mágico"
  168. description = "Sítio pessoal de João Ninguém"
  169. keywords = "blog,desenvolvedor,pessoal"
  170. [[languages.pt-br.menu.main]]
  171. name = "Sobre"
  172. weight = 1
  173. url = "about/"
  174. [[languages.pt-br.menu.main]]
  175. name = "Blog"
  176. weight = 2
  177. url = "posts/"
  178. [[languages.pt-br.menu.main]]
  179. name = "Projetos"
  180. weight = 3
  181. url = "projects/"
  182. [[languages.pt-br.menu.main]]
  183. name = "Contato"
  184. weight = 5
  185. url = "contact/"