Pin a post on home page! #2675
blogi-kriptovalyut
started this conversation in
Ideas
Replies: 1 comment
-
Duplicate of #2045 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey. I got an idea.
Summary
It would be great to do not only a recent post on home page, but also a "Pinned Posts".
Motivation
Pinning a post is one of the easiest - and most effective - ways to ensure that your best and most important post is the first thing visitors see when they land on your home page.
You can use something like this:
{% assign pinned = site.posts | where_exp: "item", "item.pin == true"%}
We can create a yml variable in each post called
pin
, and set some to true.So I see a very nice and informative home page like this:
Beta Was this translation helpful? Give feedback.
All reactions