Skip to content

Commit 0129e32

Browse files
committed
fix
1 parent d3eec4c commit 0129e32

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

config/_default/hugo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ name = "Website"
135135
url = "https://taubyte.com"
136136
weight = 40
137137

138+
# Post sorting - show latest posts first (Hugo sorts by date descending by default)
139+
[sections]
140+
[sections.posts]
141+
sortBy = "date"
142+
138143
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
139144
pygmentsUseClasses = true
140145
[markup.highlight]

content/posts/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
title: "Posts"
3+
---

0 commit comments

Comments
 (0)