1
0

config.toml 3.7 KB

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