Skip to content
Discussion options

You must be logged in to vote

As this has been asked a few times, I decided to squeeze this in between the other features that I'm currently working on. 93a2ccc adds support for pinning of blog posts! Pinned blog posts will be sorted before all other blog posts. If you pin multiple blog posts, they are sorted by descending date, like regular blog posts. Pinned posts will appear on the first page of the main blog page, as well as on the first page of archive and category pages if and only if they belong to those pages, but not on paginated pages.

To pin a blog post, just use the pin property in the Markdown file of the blog post:

---
date: 2024-02-24
pin: true
---

# Post title

Here's how it looks – a small pin icon is…

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
6 replies
@squidfunk
Comment options

@meysam81
Comment options

@squidfunk
Comment options

@kamilkrzyskow
Comment options

@squidfunk
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@squidfunk
Comment options

@squidfunk
Comment options

@JieyinFeng
Comment options

@kamilkrzyskow
Comment options

@JieyinFeng
Comment options

Answer selected by squidfunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants