1
0

config.toml 4.1 KB

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