aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/jekyll-theme/posts/date.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-11-07 21:20:37 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-11-07 21:32:38 +0100
commit6c88a165e81877a9e56ede789c07e3e0d2e05601 (patch)
treea83dcb1d6a5f87113e0122495f25a62e83d547fa /_includes/jekyll-theme/posts/date.html
parentrename an include (diff)
downloadjekyll-theme-6c88a165e81877a9e56ede789c07e3e0d2e05601.tar.gz
jekyll-theme-6c88a165e81877a9e56ede789c07e3e0d2e05601.zip
posts: hide date icon in feed
Diffstat (limited to '_includes/jekyll-theme/posts/date.html')
-rw-r--r--_includes/jekyll-theme/posts/date.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/jekyll-theme/posts/date.html b/_includes/jekyll-theme/posts/date.html
index de7c4de..0788cb8 100644
--- a/_includes/jekyll-theme/posts/date.html
+++ b/_includes/jekyll-theme/posts/date.html
@@ -2,4 +2,4 @@
{% unless fmt %}
{% assign fmt = '%Y<span class="hide-on-mobile">-</span>%m<span class="hide-on-mobile">-</span>%d' %}
{% endunless %}
-<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>
+{% unless include.hide_icon %}<span class="hide-on-mobile"><span class="glyphicon glyphicon-time"></span>&nbsp;</span>{% endunless %}<span{% if include.monospace %} class="text-monospace"{% endif %}>{{ include.date | date: fmt }}</span>