1
0

config.toml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. baseURL = "http://www.example.com"
  2. title = "johndoe"
  3. theme = "hugo-coder"
  4. languageCode = "en"
  5. defaultContentLanguage = "en"
  6. paginate = 20
  7. pygmentsStyle = "b2"
  8. pygmentsCodeFences = true
  9. pygmentsCodeFencesGuessSyntax = true
  10. disqusShortname = "yourdiscussshortname"
  11. [params]
  12. author = "John Doe"
  13. description = "John Doe's personal website"
  14. keywords = "blog,developer,personal"
  15. info = "Full Stack DevOps and Magician"
  16. avatarURL = "images/avatar.jpg"
  17. #gravatar = "john.doe@example.com"
  18. footerContent = "Enter a text here."
  19. dateFormat = "January 2, 2006"
  20. hideFooter = false
  21. hideCredits = false
  22. hideCopyright = false
  23. since = 2019
  24. # Git Commit in Footer, uncomment the line below to enable it.
  25. commit = "https://github.com/luizdepra/hugo-coder/tree/"
  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. # Enable Twemoji
  38. enableTwemoji = true
  39. # Custom CSS
  40. customCSS = []
  41. # Custom SCSS
  42. customSCSS = []
  43. # Custom JS
  44. customJS = []
  45. # If you want to use fathom(https://usefathom.com) for analytics, add this section
  46. [params.fathomAnalytics]
  47. siteID = "ABCDE"
  48. # Default value is cdn.usefathom.com, overwrite this if you are self-hosting
  49. serverURL = "analytics.example.com"
  50. # If you want to use plausible(https://plausible.io) for analytics, add this section
  51. [params.plausibleAnalytics]
  52. domain = "example.com"
  53. # Default value is plausible.io, overwrite this if you are self-hosting or using a custom domain
  54. serverURL = "analytics.example.com"
  55. # If you want to use goatcounter(https://goatcounter.com) for analytics, add this section
  56. [params.goatCounter]
  57. code = "code"
  58. # If you want to use Cloudflare Web Analytics(https://cloudflare.com) for analytics, add this section
  59. [params.cloudflare]
  60. token = "token"
  61. [taxonomies]
  62. category = "categories"
  63. series = "series"
  64. tag = "tags"
  65. author = "authors"
  66. [[params.social]]
  67. name = "Github"
  68. icon = "fa fa-github"
  69. weight = 1
  70. url = "https://github.com/johndoe/"
  71. [[params.social]]
  72. name = "Gitlab"
  73. icon = "fa fa-gitlab"
  74. weight = 2
  75. url = "https://gitlab.com/johndoe/"
  76. [[params.social]]
  77. name = "Twitter"
  78. icon = "fa fa-twitter"
  79. weight = 3
  80. url = "https://twitter.com/johndoe/"
  81. [[params.social]]
  82. name = "LinkedIn"
  83. icon = "fa fa-linkedin"
  84. weight = 4
  85. url = "https://www.linkedin.com/in/johndoe/"
  86. [[params.social]]
  87. name = "Medium"
  88. icon = "fa fa-medium"
  89. weight = 5
  90. url = "https://medium.com/@johndoe"
  91. [[params.social]]
  92. name = "RSS"
  93. icon = "fa fa-rss"
  94. weight = 6
  95. url = "https://myhugosite.com/index.xml"
  96. rel = "alternate"
  97. type = "application/rss+xml"
  98. [languages]
  99. [languages.en]
  100. languageName = "English"
  101. [languages.en.menu]
  102. [[languages.en.menu.main]]
  103. name = "About"
  104. weight = 1
  105. url = "about/"
  106. [[languages.en.menu.main]]
  107. name = "Blog"
  108. weight = 2
  109. url = "posts/"
  110. [[languages.en.menu.main]]
  111. name = "Projects"
  112. weight = 3
  113. url = "projects/"
  114. [[languages.en.menu.main]]
  115. name = "Contact me"
  116. weight = 5
  117. url = "contact/"
  118. [languages.pt-br]
  119. languageName = "Português"
  120. title = "João Ninguém"
  121. [languages.pt-br.params]
  122. author = "João Ninguém"
  123. info = "Full Stack DevOps e Mágico"
  124. description = "Sítio pessoal de João Ninguém"
  125. keywords = "blog,desenvolvedor,pessoal"
  126. footerContent = "Coloque algum texto aqui."
  127. [languages.pt-br.menu]
  128. [[languages.pt-br.menu.main]]
  129. name = "Sobre"
  130. weight = 1
  131. url = "about/"
  132. [[languages.pt-br.menu.main]]
  133. name = "Blog"
  134. weight = 2
  135. url = "posts/"
  136. [[languages.pt-br.menu.main]]
  137. name = "Projetos"
  138. weight = 3
  139. url = "projects/"
  140. [[languages.pt-br.menu.main]]
  141. name = "Contato"
  142. weight = 5
  143. url = "contact/"