diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 06:23:01 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 06:23:01 +0300 |
commit | 849bf352c9092746d38a9966c7f1da0cdcf347a5 (patch) | |
tree | d69c93a91833e707f6523c05b59c9faf102fbab0 /index.html | |
parent | _layouts: sidebar.html -> default.html (diff) | |
download | jekyll-theme-849bf352c9092746d38a9966c7f1da0cdcf347a5.tar.gz jekyll-theme-849bf352c9092746d38a9966c7f1da0cdcf347a5.zip |
don't zero-pad day number in dates
Diffstat (limited to '')
-rw-r--r-- | index.html | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> Posted on {{ post.date | date_to_long_string }} + <span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date: '%-d %B %Y' }} {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %} </p> {{ post.excerpt | markdownify }} |