config.toml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. custom_css = []
  41. # Custom JS
  42. custom_js = []
  43. # If you want to use fathom(https://usefathom.com) for analytics, add this section
  44. [params.fathomAnalytics]
  45. siteID = "ABCDE"
  46. # Default value is cdn.usefathom.com, overwrite this if you are self-hosting
  47. serverURL = "analytics.example.com"
  48. # If you want to use plausible(https://plausible.io) for analytics, add this section
  49. [params.plausibleAnalytics]
  50. domain = "example.com"
  51. # Default value is plausible.io, overwrite this if you are self-hosting or using a custom domain
  52. serverURL = "analytics.example.com"
  53. # If you want to use goatcounter(https://goatcounter.com) for analytics, add this section
  54. [params.goatCounter]
  55. code = "code"
  56. [taxonomies]
  57. category = "categories"
  58. series = "series"
  59. tag = "tags"
  60. [[params.social]]
  61. name = "Github"
  62. icon = "fa fa-github"
  63. weight = 1
  64. url = "https://github.com/johndoe/"
  65. [[params.social]]
  66. name = "Gitlab"
  67. icon = "fa fa-gitlab"
  68. weight = 2
  69. url = "https://gitlab.com/johndoe/"
  70. [[params.social]]
  71. name = "Twitter"
  72. icon = "fa fa-twitter"
  73. weight = 3
  74. url = "https://twitter.com/johndoe/"
  75. [[params.social]]
  76. name = "LinkedIn"
  77. icon = "fa fa-linkedin"
  78. weight = 4
  79. url = "https://www.linkedin.com/in/johndoe/"
  80. [[params.social]]
  81. name = "Medium"
  82. icon = "fa fa-medium"
  83. weight = 5
  84. url = "https://medium.com/@johndoe"
  85. [[params.social]]
  86. name = "RSS"
  87. icon = "fa fa-rss"
  88. weight = 6
  89. url = "https://myhugosite.com/index.xml"
  90. rel = "alternate"
  91. type = "application/rss+xml"
  92. [languages]
  93. [languages.en]
  94. languagename = "English"
  95. [languages.en.menu]
  96. [[languages.en.menu.main]]
  97. name = "About"
  98. weight = 1
  99. url = "about/"
  100. [[languages.en.menu.main]]
  101. name = "Blog"
  102. weight = 2
  103. url = "posts/"
  104. [[languages.en.menu.main]]
  105. name = "Projects"
  106. weight = 3
  107. url = "projects/"
  108. [[languages.en.menu.main]]
  109. name = "Contact me"
  110. weight = 5
  111. url = "contact/"
  112. [languages.pt-br]
  113. languagename = "Português"
  114. title = "João Ninguém"
  115. [languages.pt-br.params]
  116. author = "João Ninguém"
  117. info = "Full Stack DevOps e Mágico"
  118. description = "Sítio pessoal de João Ninguém"
  119. keywords = "blog,desenvolvedor,pessoal"
  120. footercontent = "Coloque algum texto aqui."
  121. [languages.pt-br.menu]
  122. [[languages.pt-br.menu.main]]
  123. name = "Sobre"
  124. weight = 1
  125. url = "about/"
  126. [[languages.pt-br.menu.main]]
  127. name = "Blog"
  128. weight = 2
  129. url = "posts/"
  130. [[languages.pt-br.menu.main]]
  131. name = "Projetos"
  132. weight = 3
  133. url = "projects/"
  134. [[languages.pt-br.menu.main]]
  135. name = "Contato"
  136. weight = 5
  137. url = "contact/"