aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts
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 /_layouts
parent_layouts: sidebar.html -> default.html (diff)
downloadjekyll-theme-849bf352c9092746d38a9966c7f1da0cdcf347a5.tar.gz
jekyll-theme-849bf352c9092746d38a9966c7f1da0cdcf347a5.zip
don't zero-pad day number in dates
Diffstat (limited to '')
-rw-r--r--_layouts/post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 27c69f4..83f11b7 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -3,7 +3,7 @@
<div class="col-md-8">
<h1>{{ page.title }}</h1>
<p class="text-muted">
- <span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ page.date | date_to_long_string }}
+ <span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ page.date | date: '%-d %B %Y' }}
{%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %}
</p>
{{ content }}