1
0

config.toml 5.6 KB

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