1
0

config.toml 3.7 KB

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