From 37c72b707a73637ea0948de0c4956d263128c78b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 24 Oct 2022 12:49:57 +0200 Subject: posts: redesign feed * No more lame post excerpts. * Smaller and cooler title font. --- _includes/jekyll-theme/posts/feed.html | 1 - _includes/jekyll-theme/posts/header.html | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to '_includes') diff --git a/_includes/jekyll-theme/posts/feed.html b/_includes/jekyll-theme/posts/feed.html index 629e4ee..7f5c0c6 100644 --- a/_includes/jekyll-theme/posts/feed.html +++ b/_includes/jekyll-theme/posts/feed.html @@ -4,7 +4,6 @@ {% for post in paginator.posts %} {% include jekyll-theme/posts/header.html feed=true %} -
{{ post.excerpt | markdownify }}
{% endfor %} {% include jekyll-theme/posts/paginator.html %} diff --git a/_includes/jekyll-theme/posts/header.html b/_includes/jekyll-theme/posts/header.html index c59f12c..eabb22c 100644 --- a/_includes/jekyll-theme/posts/header.html +++ b/_includes/jekyll-theme/posts/header.html @@ -1,11 +1,10 @@
- {% assign h = 'h1' %} {% if include.feed %} - {% assign h = 'h3' %} +
{{ include.title }}
{% else %} {% assign post = page %} +

{{ post.title }}

{% endif %} - <{{ h }}>{{ post.title }}
-- cgit v1.2.3