-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add unlisted flag #2113
base: main
Are you sure you want to change the base?
Add unlisted flag #2113
Conversation
aryangupta701
commented
Sep 12, 2023
- use unlisted: true to not display a blog in the blog list
Signed-off-by: aryangupta701 <[email protected]>
Signed-off-by: aryangupta701 <[email protected]>
Signed-off-by: Aryan Gupta <[email protected]>
Signed-off-by: Aryan Gupta <[email protected]>
Signed-off-by: Aryan Gupta <[email protected]>
Signed-off-by: Aryan Gupta <[email protected]>
Signed-off-by: Aryan Gupta <[email protected]>
7 commits? |
Also shouldn't it also check the date in order to appear when appropriate? |
Can be squashed? or should I squash? |
Do we really need this? |
I think I should add that date check? |
@@ -9,6 +9,7 @@ <h1 class="text--white">{{ .Title }}</h1> | |||
<div class="flex on-sm-stack"> | |||
<div class="col-2-3 pr-30"> | |||
{{ range .Pages }} | |||
{{ if not .Params.unlisted }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to be more specific that only applies to the blog index (e.g. it will still be listed in tags).
My question too 😉 |
Its up to you if you want to keep this or not. Maybe if you have any use case in future then you can merge |