diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-28 07:39:20 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-28 11:11:20 +0200 |
commit | a768a7fa84577a5975fa782dd81cdab066dcff12 (patch) | |
tree | 14868bf9073c1b6d2f2fc861a0e4cac192c51f8c /_includes/jekyll-theme/posts/date.html | |
parent | posts: right-align the date (diff) | |
download | jekyll-theme-a768a7fa84577a5975fa782dd81cdab066dcff12.tar.gz jekyll-theme-a768a7fa84577a5975fa782dd81cdab066dcff12.zip |
posts: redesign feed again
Put dates on the left, this looks nicer.
Diffstat (limited to '_includes/jekyll-theme/posts/date.html')
-rw-r--r-- | _includes/jekyll-theme/posts/date.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/_includes/jekyll-theme/posts/date.html b/_includes/jekyll-theme/posts/date.html new file mode 100644 index 0000000..4d36bd3 --- /dev/null +++ b/_includes/jekyll-theme/posts/date.html @@ -0,0 +1,5 @@ +{% assign fmt = include.fmt %} +{% unless fmt %} + {% assign fmt = "%F" %} +{% endunless %} +<span class="glyphicon glyphicon-time"></span> <span{% if include.monospace %} class="text-monospace"{% endif %}>{{ include.date | date: fmt }}</span> |