diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-07 21:20:37 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-07 21:32:38 +0100 |
commit | 6c88a165e81877a9e56ede789c07e3e0d2e05601 (patch) | |
tree | a83dcb1d6a5f87113e0122495f25a62e83d547fa | |
parent | rename an include (diff) | |
download | jekyll-theme-6c88a165e81877a9e56ede789c07e3e0d2e05601.tar.gz jekyll-theme-6c88a165e81877a9e56ede789c07e3e0d2e05601.zip |
posts: hide date icon in feed
-rw-r--r-- | _includes/jekyll-theme/posts/date.html | 2 | ||||
-rw-r--r-- | _includes/jekyll-theme/posts/feed-entry.html | 2 |
2 files changed, 2 insertions, 2 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> </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> </span>{% endunless %}<span{% if include.monospace %} class="text-monospace"{% endif %}>{{ include.date | date: fmt }}</span> diff --git a/_includes/jekyll-theme/posts/feed-entry.html b/_includes/jekyll-theme/posts/feed-entry.html index 4d648e7..fc4fd45 100644 --- a/_includes/jekyll-theme/posts/feed-entry.html +++ b/_includes/jekyll-theme/posts/feed-entry.html @@ -1,6 +1,6 @@ {% assign header_date = null %} {% if include.date %} - {% capture header_date %}<p>{%- include jekyll-theme/posts/date.html date=include.date monospace=true -%}</p>{% endcapture %} + {% capture header_date %}<p>{%- include jekyll-theme/posts/date.html date=include.date monospace=true hide_icon=true -%}</p>{% endcapture %} {% endif %} {% assign header_category = null %} |