aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/jekyll-theme/posts/date.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-28 07:39:20 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-28 11:11:20 +0200
commita768a7fa84577a5975fa782dd81cdab066dcff12 (patch)
tree14868bf9073c1b6d2f2fc861a0e4cac192c51f8c /_includes/jekyll-theme/posts/date.html
parentposts: right-align the date (diff)
downloadjekyll-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.html5
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>&nbsp;<span{% if include.monospace %} class="text-monospace"{% endif %}>{{ include.date | date: fmt }}</span>