config.toml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. [taxonomies]
  59. category = "categories"
  60. series = "series"
  61. tag = "tags"
  62. author = "authors"
  63. [[params.social]]
  64. name = "Github"
  65. icon = "fa fa-github"
  66. weight = 1
  67. url = "https://github.com/johndoe/"
  68. [[params.social]]
  69. name = "Gitlab"
  70. icon = "fa fa-gitlab"
  71. weight = 2
  72. url = "https://gitlab.com/johndoe/"
  73. [[params.social]]
  74. name = "Twitter"
  75. icon = "fa fa-twitter"
  76. weight = 3
  77. url = "https://twitter.com/johndoe/"
  78. [[params.social]]
  79. name = "LinkedIn"
  80. icon = "fa fa-linkedin"
  81. weight = 4
  82. url = "https://www.linkedin.com/in/johndoe/"
  83. [[params.social]]
  84. name = "Medium"
  85. icon = "fa fa-medium"
  86. weight = 5
  87. url = "https://medium.com/@johndoe"
  88. [[params.social]]
  89. name = "RSS"
  90. icon = "fa fa-rss"
  91. weight = 6
  92. url = "https://myhugosite.com/index.xml"
  93. rel = "alternate"
  94. type = "application/rss+xml"
  95. [languages]
  96. [languages.en]
  97. languageName = "English"
  98. [languages.en.menu]
  99. [[languages.en.menu.main]]
  100. name = "About"
  101. weight = 1
  102. url = "about/"
  103. [[languages.en.menu.main]]
  104. name = "Blog"
  105. weight = 2
  106. url = "posts/"
  107. [[languages.en.menu.main]]
  108. name = "Projects"
  109. weight = 3
  110. url = "projects/"
  111. [[languages.en.menu.main]]
  112. name = "Contact me"
  113. weight = 5
  114. url = "contact/"
  115. [languages.pt-br]
  116. languageName = "Português"
  117. title = "João Ninguém"
  118. [languages.pt-br.params]
  119. author = "João Ninguém"
  120. info = "Full Stack DevOps e Mágico"
  121. description = "Sítio pessoal de João Ninguém"
  122. keywords = "blog,desenvolvedor,pessoal"
  123. footerContent = "Coloque algum texto aqui."
  124. [languages.pt-br.menu]
  125. [[languages.pt-br.menu.main]]
  126. name = "Sobre"
  127. weight = 1
  128. url = "about/"
  129. [[languages.pt-br.menu.main]]
  130. name = "Blog"
  131. weight = 2
  132. url = "posts/"
  133. [[languages.pt-br.menu.main]]
  134. name = "Projetos"
  135. weight = 3
  136. url = "projects/"
  137. [[languages.pt-br.menu.main]]
  138. name = "Contato"
  139. weight = 5
  140. url = "contact/"