config.toml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. # set `baseurl` to your root domain
  2. # if you set it to "/" share icons won't work properly on production
  3. baseurl = "https://trends.nobad.news/" # Include trailing slash
  4. title = "News"
  5. author = "news"
  6. #canonifyurls = true
  7. paginate = 8
  8. PaginatePath = "/posts/"
  9. theme = "hugo-curious"
  10. publishDir= "/opt/trends_nobad_news"
  11. DefaultContentLanguage = "en"
  12. # [languages]
  13. # config/_default/languages.toml
  14. # [menus]
  15. # config/_default/menus/menu.xx.toml
  16. [taxonomies]
  17. category = "categories"
  18. tag = "tags"
  19. series = "series"
  20. [markup]
  21. [markup.goldmark]
  22. [markup.goldmark.renderer]
  23. hardWraps = false
  24. unsafe = true # change to false to disable inclusion of rawHTML and math functions
  25. xhtml = false
  26. [markup.goldmark.extensions]
  27. typographer = false
  28. [markup.highlight]
  29. codeFences = true
  30. guessSyntax = false
  31. hl_Lines = "--"
  32. lineNoStart = 1
  33. lineNos = true # always set to true # else line numbers won't show at all! even when you toggle them on in the UI
  34. lineNumbersInTable = false # toggling this on (i.e to true) or deleting this line will break the code blocks functionality. Will
  35. noClasses = false
  36. # style = "monokai"
  37. tabWidth = 2
  38. [permalinks]
  39. page = "/:slug/"
  40. posts = "/:slug/"
  41. notes = "/:slug/"
  42. [params]
  43. <<<<<<< HEAD
  44. author = "steelers"
  45. #twitter = "@vietanhdev"
  46. =======
  47. author = "news"
  48. #twitter = ""
  49. >>>>>>> bac9db421f0c4196fb77e2441ef165238ca4897b
  50. largeTwitterCard = false # set to true if you want to show a large twitter card image. The default is a small twitter card image
  51. introDescription = "news"
  52. description = "news"
  53. searchTypes = ["posts", "notes"]
  54. codeLineNumbers = true
  55. # Google analytics Id
  56. ga_analytics = "UA-176023093-1"
  57. # limit the number of taxonomies links shown on the sidebar of each page by default.
  58. numberOfTagsShown = 8 # Applies for all other default & custom taxonomies. e.g categories, brands see https://gohugo.io/content-management/taxonomies#what-is-a-taxonomy
  59. # will be used on share >> twitter, facebook, linkedin
  60. fallBackOgImage = "images/thumbnail.jpg"
  61. # directory(s) where your articles are located
  62. mainSections = ["posts"] # see config details here https://gohugo.io/functions/where/#mainsections
  63. # center logo on navbar
  64. centerLogo = false # Set to "true" for centering or "false" for left aligned.
  65. logo = "logo.png"
  66. # Set the collapsed mobile navigation to either appear from the left or the right
  67. mobileNavigation = "right" # if you prefer right change to 'right'
  68. # some site owners want to decide how they would like their sites to be introduced users. These settings give you as a site owner to decide how the user will view your site for the first time.
  69. # please note that you cannot enforce both modes at the same time. i.e by enforcing one mode, you priotise it over the other (by setting it to true). enforceDarkMode will be commented out
  70. # please also not that mode toggle UI will remain in place. That way, if a user prefers darkmode, they can have their way.
  71. enforceLightMode = true
  72. # enforceDarkMode = false
  73. # Text for the languages menu.
  74. # languageMenuName = "🌐"
  75. # Title separator, default to |.
  76. # titleSeparator = "|"
  77. # Enable or disable comment globally. Default to true.
  78. # comment = false
  79. # Maximum number of recent posts.
  80. numberOfRecentPosts = 8
  81. # Maximum number of featured posts.
  82. numberOfFeaturedPosts = 8
  83. # Comment
  84. talkyardServerUrl = "https://comments-for-aicurious-io.talkyard.net"
  85. talkyardScriptUrl = "https://c1.ty-cdn.net/-/talkyard-comments.min.js"
  86. # Contact form
  87. contactFormSubmitUrl = "https://formspree.io/xaypalea"
  88. # Buy me a coffee
  89. # Comment below line to disable
  90. #buyMeACoffeeId = "vietanhdev"
  91. # MailChimp Subscriber form
  92. # Comment below line to disable
  93. #mailChimpUrl = "https://vietanhdev.us13.list-manage.com/subscribe/post?u=c5f9d88238b4c0ec0106fe459&amp;id=e74e121dc8"
  94. # Google Adsense
  95. # adsenseDataAdClient = ""
  96. # Cookie Consent
  97. showCookieConsent = false
  98. privacyPolicyPage = "https://aicurious.io/privacy-policy/"
  99. [related]
  100. includeNewer = true
  101. threshold = 10
  102. toLower = false
  103. [[related.indices]]
  104. name = "keywords"
  105. weight = 100
  106. [[related.indices]]
  107. name = "date"
  108. weight = 10
  109. [outputs]
  110. home = ["HTML", "RSS", "JSON"]