Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question - possible to get sticky post? #65

Closed
chad-bennett opened this issue Jun 1, 2018 · 3 comments
Closed

question - possible to get sticky post? #65

chad-bennett opened this issue Jun 1, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@chad-bennett
Copy link

hello. new to hugo.

i'm looking to have a sticky post that sits at the top of the post list forever. is there a way to do this with hugo and/or jane theme?

have been looking for hours and can't find an answer. thanks for any help anyone can provide.

https://chad-bennett.github.io/home/

@xianmin xianmin added the enhancement New feature or request label Jun 2, 2018
@xianmin
Copy link
Owner

xianmin commented Jun 2, 2018

The easy way:
Add Front Matter config weight: 1 in your sticky post.

---
title: "Sticky post"
date: 2018-06-01
weight: 1
---

But we don't have a design that mark sticky post different from other posts.

Maybe we could add a symbol in front of the title of the sticky post. Like this:

deepinscreenshot_select-area_20180602160845

What do you think?

@MrBenWang
Copy link

It‘s necessary . different from other posts. like style or some words

@xianmin
Copy link
Owner

xianmin commented Dec 8, 2018

@MrBenWang See #155 , what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants