We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[future]
[expired]
Hugo supports building blog-posts that are future-dated/expired posts, with:
-E, --buildExpired include expired content -F, --buildFuture include content with publishdate in the future
It would be neat if this theme could add the [future] and [expired] label to them, similar to the [draft] label! :)
[draft]
The text was updated successfully, but these errors were encountered:
Add [future]/[expired] to future/expired posts
2a42756
Implements adityatelange#1119
Hi @pradyunsg , I am thinking of using icons instead of text to represent the status.
This is to overcome translations for these strings in future. Draft - https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aedit_note%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048 Expired - https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aevent_busy%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048 Future - https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aevent_upcoming%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048 licensing: https://developers.google.com/fonts/faq#can_i_use_any_font_in_a_commercial_product
This is to overcome translations for these strings in future.
Draft - https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aedit_note%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048
Expired - https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aevent_busy%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048
Future - https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aevent_upcoming%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048
licensing: https://developers.google.com/fonts/faq#can_i_use_any_font_in_a_commercial_product
Originally posted by @adityatelange in #1140 (comment)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hugo supports building blog-posts that are future-dated/expired posts, with:
It would be neat if this theme could add the
[future]
and[expired]
label to them, similar to the[draft]
label! :)The text was updated successfully, but these errors were encountered: