hugo-PaperMod
hugo-PaperMod copied to clipboard
Add `[future]`/`[expired]` to future/expired blog posts
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! :)
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
Originally posted by @adityatelange in https://github.com/adityatelange/hugo-PaperMod/issues/1140#issuecomment-1416743317


