diff options
-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 %} |