1
0

config.toml 3.8 KB

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