config.toml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. baseurl = "http://www.example.com"
  2. title = "johndoe"
  3. theme = "hugo-coder"
  4. languagecode = "en"
  5. defaultcontentlanguage = "en"
  6. paginate = 20
  7. canonifyurls = true
  8. pygmentsstyle = "b2"
  9. pygmentscodefences = true
  10. pygmentscodefencesguesssyntax = true
  11. disqusShortname = "yourdiscussshortname"
  12. [params]
  13. author = "John Doe"
  14. description = "John Doe's personal website"
  15. keywords = "blog,developer,personal"
  16. info = "Full Stack DevOps and Magician"
  17. avatarurl = "images/avatar.jpg"
  18. #gravatar = "john.doe@example.com"
  19. footercontent = "Enter a text here."
  20. dateformat = "January 2, 2006"
  21. hideFooter = false
  22. hideCredits = false
  23. hideCopyright = false
  24. since = 2019
  25. # Git Commit in Footer, uncomment the line below to enable it.
  26. commit = "https://github.com/luizdepra/hugo-coder/tree/"
  27. rtl = false
  28. # Specify light/dark colorscheme
  29. # Supported values:
  30. # "auto" (use preference set by browser)
  31. # "dark" (dark background, light foreground)
  32. # "light" (light background, dark foreground) (default)
  33. colorscheme = "auto"
  34. # Series see also post count
  35. maxSeeAlsoItems = 5
  36. # Enable Twemoji
  37. enableTwemoji = true
  38. # Custom CSS
  39. custom_css = []
  40. # Custom JS
  41. custom_js = []
  42. # If you want to use fathom(https://usefathom.com) for analytics, add this section
  43. [params.fathomAnalytics]
  44. siteID = "ABCDE"
  45. # Default value is cdn.usefathom.com, overwrite this if you are self-hosting
  46. serverURL = "analytics.example.com"
  47. # If you want to use plausible(https://plausible.io) for analytics, add this section
  48. [params.plausibleAnalytics]
  49. domain = "example.com"
  50. # Default value is plausible.io, overwrite this if you are self-hosting or using a custom domain
  51. serverURL = "analytics.example.com"
  52. [taxonomies]
  53. category = "categories"
  54. series = "series"
  55. tag = "tags"
  56. [[params.social]]
  57. name = "Github"
  58. icon = "fab fa-github"
  59. weight = 1
  60. url = "https://github.com/johndoe/"
  61. [[params.social]]
  62. name = "Gitlab"
  63. icon = "fab fa-gitlab"
  64. weight = 2
  65. url = "https://gitlab.com/johndoe/"
  66. [[params.social]]
  67. name = "Twitter"
  68. icon = "fab fa-twitter"
  69. weight = 3
  70. url = "https://twitter.com/johndoe/"
  71. [[params.social]]
  72. name = "LinkedIn"
  73. icon = "fab fa-linkedin"
  74. weight = 4
  75. url = "https://www.linkedin.com/in/johndoe/"
  76. [[params.social]]
  77. name = "Medium"
  78. icon = "fab fa-medium"
  79. weight = 5
  80. url = "https://medium.com/@johndoe"
  81. [[params.social]]
  82. name = "RSS"
  83. icon = "fas fa-rss"
  84. weight = 6
  85. url = "https://myhugosite.com/index.xml"
  86. rel = "alternate"
  87. type = "application/rss+xml"
  88. [languages]
  89. [languages.en]
  90. languagename = "English"
  91. [languages.en.menu]
  92. [[languages.en.menu.main]]
  93. name = "About"
  94. weight = 1
  95. url = "about/"
  96. [[languages.en.menu.main]]
  97. name = "Blog"
  98. weight = 2
  99. url = "posts/"
  100. [[languages.en.menu.main]]
  101. name = "Projects"
  102. weight = 3
  103. url = "projects/"
  104. [[languages.en.menu.main]]
  105. name = "Contact me"
  106. weight = 5
  107. url = "contact/"
  108. [languages.pt-br]
  109. languagename = "Português"
  110. title = "João Ninguém"
  111. [languages.pt-br.params]
  112. author = "João Ninguém"
  113. info = "Full Stack DevOps e Mágico"
  114. description = "Sítio pessoal de João Ninguém"
  115. keywords = "blog,desenvolvedor,pessoal"
  116. footercontent = "Coloque algum texto aqui."
  117. [languages.pt-br.menu]
  118. [[languages.pt-br.menu.main]]
  119. name = "Sobre"
  120. weight = 1
  121. url = "about/"
  122. [[languages.pt-br.menu.main]]
  123. name = "Blog"
  124. weight = 2
  125. url = "posts/"
  126. [[languages.pt-br.menu.main]]
  127. name = "Projetos"
  128. weight = 3
  129. url = "projects/"
  130. [[languages.pt-br.menu.main]]
  131. name = "Contato"
  132. weight = 5
  133. url = "contact/"