diff options
| author | Christian Cleberg <[email protected]> | 2024-03-13 23:51:50 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-03-13 23:51:50 -0500 |
| commit | 20248dc0aa07cb395c3719cc6ca3750b159f4c0d (patch) | |
| tree | f8ba53d8866030e1150c3cd80c0d57577889adb4 | |
| parent | ccbaa7a60d283a7647d08e4747d0ca0c9eb6b45b (diff) | |
| download | cleberg.net-20248dc0aa07cb395c3719cc6ca3750b159f4c0d.tar.gz cleberg.net-20248dc0aa07cb395c3719cc6ca3750b159f4c0d.tar.bz2 cleberg.net-20248dc0aa07cb395c3719cc6ca3750b159f4c0d.zip | |
update date formatting
| -rw-r--r-- | templates/index.html | 2 | ||||
| -rw-r--r-- | templates/section.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index 8b86fe0..a100512 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,7 +13,7 @@ {% if i < 3%} {% set_global i = i + 1%} <div class="post"> - <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date }}</time> + <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date | date(format='%Y-%m-%d') }}</time> <a href="/blog/{{ page.slug }}/">{{ page.title }}</a> </div> {% endif %} diff --git a/templates/section.html b/templates/section.html index d36e32f..184587b 100644 --- a/templates/section.html +++ b/templates/section.html @@ -11,7 +11,7 @@ <h2>{{ post_date }}</h2> {% endif %} <div class="post"> - <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date }}</time> + <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date | date(format='%Y-%m-%d') }}</time> <a href="/blog/{{ page.slug }}/">{{ page.title }}</a> </div> {% endfor %} |
