aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 06:23:01 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 06:23:01 +0300
commit849bf352c9092746d38a9966c7f1da0cdcf347a5 (patch)
treed69c93a91833e707f6523c05b59c9faf102fbab0 /index.html
parent_layouts: sidebar.html -> default.html (diff)
downloadblog-849bf352c9092746d38a9966c7f1da0cdcf347a5.tar.gz
blog-849bf352c9092746d38a9966c7f1da0cdcf347a5.zip
don't zero-pad day number in dates
Diffstat (limited to '')
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index e498c30..6308849 100644
--- a/index.html
+++ b/index.html
@@ -13,7 +13,7 @@ root_page: true
{% for post in paginator.posts %}
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
<p class="text-muted">
- <span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ post.date | date_to_long_string }}
+ <span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ post.date | date: '%-d %B %Y' }}
{%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}
</p>
{{ post.excerpt | markdownify }}