diff options
author | HombreLaser <buran@silosneeded.com> | 2024-05-07 22:57:27 -0600 |
---|---|---|
committer | HombreLaser <buran@silosneeded.com> | 2024-05-07 22:57:27 -0600 |
commit | 31aff186969a6e1da1d5d2f456a146643d4b99b1 (patch) | |
tree | f4658ca132713327ab5e3236964cf42b6068b9a1 /_layouts | |
parent | c56290d9961e518f027b6f7efaabac92e1e4c388 (diff) |
Improve date rendering
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/post.liquid | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/_layouts/post.liquid b/_layouts/post.liquid index f4c4374..fa459bc 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -8,9 +8,13 @@ <div class="column mb-2 content"> <h1> <a href="{{ site.baseurl}}{{ page.url }}"> - {{ page.date | date: "%b %-d, %Y" }} - {{ page.title }} + {{ page.title }} </a> </h1> + <h2> + {% capture month%}{{ page.date | date: "%b" }}{% endcapture %} + {{ site.data[site.active_lang].strings.date[month]}} {{ page.date | date: "%d, %Y" }} + </h2> {{ content }} </div> {% include navigation_buttons.liquid %} |