diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-28 08:37:22 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-28 11:11:57 +0200 |
commit | cc2273f7af3a56e2b7198290d4c337e146a4213a (patch) | |
tree | eee77d02967b53806c0dc41a65f6d6bfa8832640 /_includes/jekyll-theme/posts/date.html | |
parent | posts: redesign feed again (diff) | |
download | jekyll-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.html | 4 |
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> <span{% if include.monospace %} class="text-monospace"{% endif %}>{{ include.date | date: fmt }}</span> +<span class="hide-on-mobile"><span class="glyphicon glyphicon-time"></span> </span><span{% if include.monospace %} class="text-monospace"{% endif %}>{{ include.date | date: fmt }}</span> |