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 /_layouts/post.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 '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 2 |
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> Posted on {{ page.date | date_to_long_string }} + <span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date: '%-d %B %Y' }} {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %} </p> {{ content }} |