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 /_includes/common | |
parent | _layouts: sidebar.html -> default.html (diff) | |
download | blog-849bf352c9092746d38a9966c7f1da0cdcf347a5.tar.gz blog-849bf352c9092746d38a9966c7f1da0cdcf347a5.zip |
don't zero-pad day number in dates
Diffstat (limited to '')
-rw-r--r-- | _includes/common/footer.html | 2 | ||||
-rw-r--r-- | _includes/common/sidebar.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_includes/common/footer.html b/_includes/common/footer.html index c5c99f4..c1d80e2 100644 --- a/_includes/common/footer.html +++ b/_includes/common/footer.html @@ -11,7 +11,7 @@ </div> <div style="display: table-row;"> <div style="display: table-cell;"> - <div class="text-center text-muted"><small>This version of the page was generated on {{ site.time | date_to_long_string }}.</small></div> + <div class="text-center text-muted"><small>This version of the page was generated on {{ site.time | date: '%-d %B %Y' }}.</small></div> </div> </div> </div> diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html index dcc79e2..76cced0 100644 --- a/_includes/common/sidebar.html +++ b/_includes/common/sidebar.html @@ -15,7 +15,7 @@ <div class="list-group wide-enough"> {% for post in site.posts limit: 5 %} <a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}"> - <span class="badge"><span class="glyphicon glyphicon-time"></span> {{ post.date | date_to_string }}</span> + <span class="badge"><span class="glyphicon glyphicon-time"></span> {{ post.date | date: '%-d %b %Y' }}</span> <span class="glyphicon glyphicon-file"></span> {{ post.title }} </a> {% endfor %} |