From 96dd226af5f2a1fb8f8c0356fc15103ef2422dfb Mon Sep 17 00:00:00 2001 From: Sharwin24 Date: Mon, 30 Dec 2024 12:02:20 -0800 Subject: [PATCH] Updating hugo.yaml with site parameters to show blog posts --- hugo.yaml | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/hugo.yaml b/hugo.yaml index 4c37828..a3f4b69 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -23,3 +23,73 @@ module: target: static/files - source: ../../node_modules/katex/dist/fonts target: static/fonts + + +# Site parameters +params: + # Provide logos for your site. The inverted logo will be used in the initial + # transparent navbar and the main logo will be used in the non-transparent navbar. + logo: + main: /images/sharwin_portrait.jpg + inverted: /images/sharwin_portrait.jpg + # favicon: /images/favicon.png + + # GitHub repo of your site + gitRepo: https://github.com/Sharwin24/toha + # Default branch of your Git repo + gitBranch: main + + # Configure the number of section title visible in the top navbar + topNavbar: + maxVisibleSections: 5 + + # Enable and configure blog posts + enableBlogPost: true + blog: + title: "Sharwin Blog" + enable: true + showAuthor: true + # Share post on different social media + shareButtons: + linkedin: true + email: true + + # specify whether you want to show Table of Contents in reading page + toc: + enable: true + + # Show tags under the post title + tags: + enable: true + on_card: true # enables tags in post cards + + # Enable Analytics + # analytics: + # enabled: false + # services: + # cloudflare web analytics + # cloudflare: + # token: "" + # Google Analytics + # google: + # id: G-H4LBG7NDFZ + # # CounterDev + # counterDev: + # id: + # # GoatCounter + # goatCounter: + # code: + # # Matomo / Piwik + # matomo: + # instance: matomo.example.com + # siteId: 1 # Or any other number + # # Umami + # umami: + # scheme: https + # instance: umami.example.com + # id: + # # Statcounter + # statcounter: + # project: 1234567890 + # invisible: 1 + # security: deadbeef