aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/jekyll-theme/posts/header.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-28 08:37:22 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-28 11:11:57 +0200
commitcc2273f7af3a56e2b7198290d4c337e146a4213a (patch)
treeeee77d02967b53806c0dc41a65f6d6bfa8832640 /_includes/jekyll-theme/posts/header.html
parentposts: redesign feed again (diff)
downloadjekyll-theme-cc2273f7af3a56e2b7198290d4c337e146a4213a.tar.gz
jekyll-theme-cc2273f7af3a56e2b7198290d4c337e146a4213a.zip
posts: narrower feed on mobile
Diffstat (limited to '')
-rw-r--r--_includes/jekyll-theme/posts/header.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/_includes/jekyll-theme/posts/header.html b/_includes/jekyll-theme/posts/header.html
index d170ae9..4d648e7 100644
--- a/_includes/jekyll-theme/posts/header.html
+++ b/_includes/jekyll-theme/posts/header.html
@@ -1,11 +1,15 @@
{% assign header_date = null %}
{% if include.date %}
- {% capture header_date %}{%- include jekyll-theme/posts/date.html date=include.date monospace=true -%}{% endcapture %}
+ {% capture header_date %}<p>{%- include jekyll-theme/posts/date.html date=include.date monospace=true -%}</p>{% endcapture %}
{% endif %}
{% assign header_category = null %}
{% if include.category %}
- {% capture header_category %}{%- include jekyll-theme/categories/label.html category=include.category monospace=true -%}{% endcapture %}
+ {% capture header_category %}
+ <p class="hide-on-mobile">
+ {%- include jekyll-theme/categories/label.html category=include.category monospace=true -%}
+ </p>
+ {% endcapture %}
{% endif %}
{% capture header_title %}<h5 class="text-monospace">{{ include.title }}</h5>{% endcapture %}