From b3a670bfa498483982f169c8b77bb391c99a958d Mon Sep 17 00:00:00 2001 From: Sharwin24 Date: Mon, 30 Dec 2024 12:25:21 -0800 Subject: [PATCH] Got example posts showing up --- content/posts/_index.md | 4 ++-- content/posts/example_post.md | 7 +++++++ content/posts/sample_paper/index.md | 2 +- hugo.yaml | 21 ++++++++++++--------- 4 files changed, 22 insertions(+), 12 deletions(-) create mode 100644 content/posts/example_post.md diff --git a/content/posts/_index.md b/content/posts/_index.md index 76fa783..f448269 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,3 +1,3 @@ --- -title: Posts ---- +title: Sharwin's Posts +--- \ No newline at end of file diff --git a/content/posts/example_post.md b/content/posts/example_post.md new file mode 100644 index 0000000..806c249 --- /dev/null +++ b/content/posts/example_post.md @@ -0,0 +1,7 @@ +--- +hero: /images/default-hero.jpg +author: + name: Sharwin Patil + image: /images/sharwin_portrait.jpg +--- +Example Post Text here \ No newline at end of file diff --git a/content/posts/sample_paper/index.md b/content/posts/sample_paper/index.md index 5af650d..e43a1da 100644 --- a/content/posts/sample_paper/index.md +++ b/content/posts/sample_paper/index.md @@ -6,7 +6,7 @@ menu: sidebar: name: Introduction identifier: introduction - weight: 10 + weight: 0 tags: ["Basic", "Multi-lingual"] categories: ["Basic"] --- diff --git a/hugo.yaml b/hugo.yaml index 6d2fc11..9ed129e 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,6 +1,9 @@ +baseURL: "https://sharwin24.github.io/toha/" + languageCode: en title: "Sharwin's Portfolio" + module: hugoVersion: min: "0.128.0" @@ -47,15 +50,15 @@ params: 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 + features: + blog: + title: "Project Posts" + 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: