From c878dcc5b532b8779ec7d1a9b2687a9d2aff3ff0 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Tue, 12 May 2015 21:21:07 +0200 Subject: [PATCH] Use the proper excerpt instead of YAML front matter stuff It causes more issues than it solves. --- _includes/pagination.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/_includes/pagination.html b/_includes/pagination.html index d6d3c63..5bd726e 100644 --- a/_includes/pagination.html +++ b/_includes/pagination.html @@ -1,9 +1,9 @@ {% comment %} -* This loops through the paginated posts +* This loops through the paginated posts * * Total posts: {{ paginator.total_posts }} * Total paginate-pages: {{ paginator.total_pages }} -* +* {% endcomment %} @@ -13,9 +13,7 @@

{% if post.categories %}{{ post.categories | join: ' · ' }}{% endif %} – {% if post.subheadline %}{{ post.subheadline }}{% endif %}

{{ post.title }}

- {% if post.image.thumb %}{{ page.title escape_once }}{% endif %} - - {% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elsif post.teaser %}{{ post.teaser | strip_html | escape }}{% endif %} + {% if post.image.thumb %}{{ page.title escape_once }}{% endif %}{{ post.excerpt | remove: '

' | remove: '

' }}
{{ site.data.language.read_more }}

@@ -34,9 +32,9 @@ {% endif %} {{ site.data.language.blog_archive }} - - {% if paginator.next_page %} + + {% if paginator.next_page %} {{ site.data.language.next }} » - {% endif %} + {% endif %}