1
0

config.toml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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 Baidu Analytics(https://tongji.baidu.com) for analytics, add this section
  61. # [params.baidu]
  62. # token = "token"
  63. # If you want to use Matomo(https://matomo.org) for analytics, add this section
  64. # [params.matomo]
  65. # siteID = "ABCDE" # Default value is "1", overwrite this if you are cloud-hosting
  66. # serverURL = "analytics.example.com" # For cloud-hosting, use provided URL, e.g. example.matomo.cloud
  67. # If you want to use Google Tag Manager(https://analytics.google.com/) for analytics, add this section
  68. # [params.googleTagManager]
  69. # id = "gid"
  70. # If you want to use Yandex Metrika(https://metrika.yandex.ru) for analytics, add this section
  71. # [params.yandexMetrika]
  72. # id = "gid"
  73. # If you want to use Application Insights(https://azure.com/) for analytics, add this section
  74. # [params.applicationInsights]
  75. # connectionString = "connectionString"
  76. # If you want to use microanalytics.io for analytics, add this section
  77. # [params.microAnalytics]
  78. # id = "ABCDE"
  79. # dnt = "false" # respect DNT tracker, "true" by default
  80. # If you want to use Pirsch(https://pirsch.io) for analytics, add this section
  81. # [params.pirsch]
  82. # code = "ABCDE"
  83. # If you want to implement a Content-Security-Policy, add this section
  84. # [params.csp]
  85. # childsrc = ["'self'"]
  86. # fontsrc = ["'self'", "https://fonts.gstatic.com", "https://cdn.jsdelivr.net/"]
  87. # formaction = ["'self'"]
  88. # framesrc = ["'self'", "https://www.youtube.com"]
  89. # imgsrc = ["'self'"]
  90. # objectsrc = ["'none'"]
  91. # stylesrc = [
  92. # "'self'",
  93. # "'unsafe-inline'",
  94. # "https://fonts.googleapis.com/",
  95. # "https://cdn.jsdelivr.net/",
  96. # ]
  97. # scriptsrc = [
  98. # "'self'",
  99. # "'unsafe-inline'",
  100. # "https://www.google-analytics.com",
  101. # "https://cdn.jsdelivr.net/",
  102. # ]
  103. # prefetchsrc = ["'self'"]
  104. # # connect-src directive – defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource
  105. # connectsrc = ["'self'", "https://www.google-analytics.com"]
  106. [taxonomies]
  107. category = "categories"
  108. series = "series"
  109. tag = "tags"
  110. author = "authors"
  111. [[params.social]]
  112. name = "Github"
  113. icon = "fa fa-2x fa-github"
  114. weight = 1
  115. url = "https://github.com/johndoe/"
  116. [[params.social]]
  117. name = "Gitlab"
  118. icon = "fa fa-2x fa-gitlab"
  119. weight = 2
  120. url = "https://gitlab.com/johndoe/"
  121. [[params.social]]
  122. name = "Twitter"
  123. icon = "fa fa-2x fa-twitter"
  124. weight = 3
  125. url = "https://twitter.com/johndoe/"
  126. [[params.social]]
  127. name = "LinkedIn"
  128. icon = "fa fa-2x fa-linkedin"
  129. weight = 4
  130. url = "https://www.linkedin.com/in/johndoe/"
  131. [[params.social]]
  132. name = "Medium"
  133. icon = "fa fa-2x fa-medium"
  134. weight = 5
  135. url = "https://medium.com/@johndoe"
  136. [[params.social]]
  137. name = "RSS"
  138. icon = "fa fa-2x fa-rss"
  139. weight = 6
  140. url = "https://myhugosite.com/index.xml"
  141. rel = "alternate"
  142. type = "application/rss+xml"
  143. [languages.en]
  144. languageName = ":uk:"
  145. [[languages.en.menu.main]]
  146. name = "About"
  147. weight = 1
  148. url = "about/"
  149. [[languages.en.menu.main]]
  150. name = "Blog"
  151. weight = 2
  152. url = "posts/"
  153. [[languages.en.menu.main]]
  154. name = "Projects"
  155. weight = 3
  156. url = "projects/"
  157. [[languages.en.menu.main]]
  158. name = "Contact me"
  159. weight = 5
  160. url = "contact/"
  161. [languages.pt-br]
  162. languageName = ":brazil:"
  163. title = "João Ninguém"
  164. [languages.pt-br.params]
  165. author = "João Ninguém"
  166. info = "Full Stack DevOps e Mágico"
  167. description = "Sítio pessoal de João Ninguém"
  168. keywords = "blog,desenvolvedor,pessoal"
  169. [[languages.pt-br.menu.main]]
  170. name = "Sobre"
  171. weight = 1
  172. url = "about/"
  173. [[languages.pt-br.menu.main]]
  174. name = "Blog"
  175. weight = 2
  176. url = "posts/"
  177. [[languages.pt-br.menu.main]]
  178. name = "Projetos"
  179. weight = 3
  180. url = "projects/"
  181. [[languages.pt-br.menu.main]]
  182. name = "Contato"
  183. weight = 5
  184. url = "contact/"