aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/jekyll-theme/posts/date.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-28 08:37:22 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-28 11:11:57 +0200
commitcc2273f7af3a56e2b7198290d4c337e146a4213a (patch)
treeeee77d02967b53806c0dc41a65f6d6bfa8832640 /_includes/jekyll-theme/posts/date.html
parentposts: redesign feed again (diff)
downloadjekyll-theme-cc2273f7af3a56e2b7198290d4c337e146a4213a.tar.gz
jekyll-theme-cc2273f7af3a56e2b7198290d4c337e146a4213a.zip
posts: narrower feed on mobile
Diffstat (limited to '_includes/jekyll-theme/posts/date.html')
-rw-r--r--_includes/jekyll-theme/posts/date.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/jekyll-theme/posts/date.html b/_includes/jekyll-theme/posts/date.html
index 4d36bd3..de7c4de 100644
--- a/_includes/jekyll-theme/posts/date.html
+++ b/_includes/jekyll-theme/posts/date.html
@@ -1,5 +1,5 @@
{% assign fmt = include.fmt %}
{% unless fmt %}
- {% assign fmt = "%F" %}
+ {% assign fmt = '%Y<span class="hide-on-mobile">-</span>%m<span class="hide-on-mobile">-</span>%d' %}
{% endunless %}
-<span class="glyphicon glyphicon-time"></span>&nbsp;<span{% if include.monospace %} class="text-monospace"{% endif %}>{{ include.date | date: fmt }}</span>
+<span class="hide-on-mobile"><span class="glyphicon glyphicon-time"></span>&nbsp;</span><span{% if include.monospace %} class="text-monospace"{% endif %}>{{ include.date | date: fmt }}</span>