-
Hi, As the title, I'm looking to display the date on some pages without overriding the template: For example on https://docs.gamebench.net/docs/release-notes/private-server/v2-22-1/. As I see it, my options are:
Is there another way I can achieve this? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
imfing
Oct 31, 2023
Replies: 1 comment 3 replies
-
Hi @emslade , thanks for using Hextra, the site looks great! By "display the date", do you mean showing the date similar to what we do in the blog post: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
some other ways I can think of:
For example, define a new layout
single-with-date.html
and explicitly set the front matter:Alternatively, you may also define a custom shortcode
layouts/shortcodes/date.html
, and include that on the top of your content which reads the date from the front matter