1
0

config.toml 4.0 KB

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