Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sravan Sarraju committed Mar 3, 2024
1 parent fbe534f commit 449037c
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.obsidian
.env
.env.build
public
8 changes: 8 additions & 0 deletions content/bookmarks/my-fav-tool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: My Favorite Tool
date: 2024-03-03
link: https://example.com/my-favorite-tool
---

Brief description of why this tool is my favorite.

8 changes: 8 additions & 0 deletions content/bookmarks/my-fav-tool2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: My Favorite Tool
date: 2024-03-03
link: https://example.com/my-favorite-tool
---

Brief description of why this tool is my favorite.

9 changes: 4 additions & 5 deletions content/posts/hello again.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
+++
title = 'Hello Again'
date = 2024-02-01T11:22:26-08:00
+++
---
title: Hello Again
date: 2024-02-01T11:22:26-08:00
---

# Testing the second blog post
9 changes: 5 additions & 4 deletions content/posts/hello.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
+++
title = 'Hello'
date = 2023-11-30T11:22:26-08:00
+++
---
title: Hello
date: 2023-11-30T11:22:26-08:00
---

Welcome to my blog. This is my first post where I spent sometime wiring up my custom domain, github pages and a github actions workflow. Im using Hugo for my blog. Looking forward to share my experiments and learnings here.
12 changes: 10 additions & 2 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,22 @@ params:
keys: ["title", "permalink", "summary", "content"]
menu:
main:
- identifier: posts
name: Posts
url: /posts/
weight: 10
- identifier: categories
name: categories
name: Categories
url: /categories/
weight: 10
- identifier: tags
name: tags
name: Tags
url: /tags/
weight: 20
- identifier: bookmarks
name: What I read recently
url: /bookmarks
weight: 10
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
pygmentsUseClasses: true
markup:
Expand Down
11 changes: 11 additions & 0 deletions layouts/bookmarks/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{{ define "main" }}
<h1>What I read recently</h1>
<ul>
{{ range .Pages }}
<li>
<a href={{ .Params.link }}>{{ .Title }}</a> - {{ .Summary }}
</li>
{{ end }}
</ul>
{{ end }}

0 comments on commit 449037c

Please sign in to comment.