1
0

config.toml 3.7 KB

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