aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-11-08 09:09:16 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-11-08 09:09:16 +0300
commit8390bc9aade3a084d2e229a05c1374969d85ff43 (patch)
treef402603393010735281840cc45e0b21b4f6c503b
parentput post dates beside the headers (diff)
downloadjekyll-theme-8390bc9aade3a084d2e229a05c1374969d85ff43.tar.gz
jekyll-theme-8390bc9aade3a084d2e229a05c1374969d85ff43.zip
shorter dates in post headers
Diffstat (limited to '')
-rw-r--r--_includes/posts/posts.html2
-rw-r--r--_layouts/post.html2
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>&nbsp;<a class="category" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>
{% endif %}
- <span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date: '%-d&nbsp;%B&nbsp;%Y' }}
+ <span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date: '%-d&nbsp;%b&nbsp;%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>&nbsp;<a class="category" href="{{ '/' | relative_url }}{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>
{% endif %}
- <span class="glyphicon glyphicon-time"></span>&nbsp;{{ page.date | date: '%-d&nbsp;%B&nbsp;%Y' }}
+ <span class="glyphicon glyphicon-time"></span>&nbsp;{{ page.date | date: '%-d&nbsp;%b&nbsp;%Y' }}
</p>
</div>
</div>