diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-11-08 09:09:16 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-11-08 09:09:16 +0300 |
commit | 8390bc9aade3a084d2e229a05c1374969d85ff43 (patch) | |
tree | f402603393010735281840cc45e0b21b4f6c503b | |
parent | put post dates beside the headers (diff) | |
download | jekyll-theme-8390bc9aade3a084d2e229a05c1374969d85ff43.tar.gz jekyll-theme-8390bc9aade3a084d2e229a05c1374969d85ff43.zip |
shorter dates in post headers
-rw-r--r-- | _includes/posts/posts.html | 2 | ||||
-rw-r--r-- | _layouts/post.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_includes/posts/posts.html b/_includes/posts/posts.html index c20ad69..94c5b01 100644 --- a/_includes/posts/posts.html +++ b/_includes/posts/posts.html @@ -12,7 +12,7 @@ {% if post.category %} <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a> {% endif %} - <span class="glyphicon glyphicon-time"></span> {{ post.date | date: '%-d %B %Y' }} + <span class="glyphicon glyphicon-time"></span> {{ post.date | date: '%-d %b %Y' }} </p> </div> </div> diff --git a/_layouts/post.html b/_layouts/post.html index 8ec7626..1d874d0 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -10,7 +10,7 @@ layout: default {% if page.category %} <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ '/' | relative_url }}{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a> {% endif %} - <span class="glyphicon glyphicon-time"></span> {{ page.date | date: '%-d %B %Y' }} + <span class="glyphicon glyphicon-time"></span> {{ page.date | date: '%-d %b %Y' }} </p> </div> </div> |