feat: add pinned posts functionality (#424)

This commit is contained in:
Óscar
2024-11-13 18:07:46 +01:00
committed by GitHub
parent 42f9bb9781
commit 36e53dc646
34 changed files with 207 additions and 91 deletions

View File

@@ -120,7 +120,6 @@ highlight_theme = "css"
+++
title = "Home"
paginate_by = 5 # Show 5 posts per page.
template = "section.html"
+++
```
@@ -132,7 +131,6 @@ highlight_theme = "css"
+++
title = "Home"
# Note we're not setting `paginate_by` here.
template = "section.html"
[extra]
section_path = "blog/_index.md" # Where to find your posts.