1
0

config.toml 5.5 KB

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