Use the proper excerpt instead of YAML front matter stuff
It causes more issues than it solves.
This commit is contained in:
		
					parent
					
						
							
								4faec328ad
							
						
					
				
			
			
				commit
				
					
						c878dcc5b5
					
				
			
		
					 1 changed files with 6 additions and 8 deletions
				
			
		|  | @ -1,9 +1,9 @@ | ||||||
| {% comment %} | {% comment %} | ||||||
| *  This loops through the paginated posts  | *  This loops through the paginated posts | ||||||
| * | * | ||||||
| *  Total posts: {{ paginator.total_posts }} | *  Total posts: {{ paginator.total_posts }} | ||||||
| *  Total paginate-pages: {{ paginator.total_pages }} | *  Total paginate-pages: {{ paginator.total_pages }} | ||||||
| *   | * | ||||||
| {% endcomment %} | {% endcomment %} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -13,9 +13,7 @@ | ||||||
|       <p class="subheadline"><span class="subheader">{% if post.categories %}{{ post.categories | join: ' · ' }}{% endif %}</span> – {% if post.subheadline %}{{ post.subheadline }}{% endif %}</p> |       <p class="subheadline"><span class="subheader">{% if post.categories %}{{ post.categories | join: ' · ' }}{% endif %}</span> – {% if post.subheadline %}{{ post.subheadline }}{% endif %}</p> | ||||||
|       <h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2> |       <h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2> | ||||||
|       <p> |       <p> | ||||||
|         {% if post.image.thumb %}<a href="{{ site.url }}{{ post.url }}" title="{{ post.title escape_once }}"><img src="{{ site.url }}/images/{{ post.image.thumb }}" class="alignleft" width="150" height="150" alt="{{ page.title escape_once }}"></a>{% endif %} |         {% if post.image.thumb %}<a href="{{ site.url }}{{ post.url }}" title="{{ post.title escape_once }}"><img src="{{ site.url }}/images/{{ post.image.thumb }}" class="alignleft" width="150" height="150" alt="{{ page.title escape_once }}"></a>{% endif %}{{ post.excerpt | remove: '<p>' | remove: '</p>' }}<br /> | ||||||
| 
 |  | ||||||
|         {% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elsif post.teaser %}{{ post.teaser | strip_html | escape }}{% endif %} |  | ||||||
| 
 | 
 | ||||||
|         <a href="{{ site.url }}{{ post.url }}" title="{{ site.data.language.read }} {{ post.title escape_once }}"><strong>{{ site.data.language.read_more }}</strong></a> |         <a href="{{ site.url }}{{ post.url }}" title="{{ site.data.language.read }} {{ post.title escape_once }}"><strong>{{ site.data.language.read_more }}</strong></a> | ||||||
|       </p> |       </p> | ||||||
|  | @ -34,9 +32,9 @@ | ||||||
|     {% endif %} |     {% endif %} | ||||||
| 
 | 
 | ||||||
|     <a class="radius button small" href="{{ site.url }}{{ site.blog_root }}archive/" title="{{ site.data.language.blog_archive }}">{{ site.data.language.blog_archive }}</a> |     <a class="radius button small" href="{{ site.url }}{{ site.blog_root }}archive/" title="{{ site.data.language.blog_archive }}">{{ site.data.language.blog_archive }}</a> | ||||||
|          | 
 | ||||||
|     {% if paginator.next_page %}  |     {% if paginator.next_page %} | ||||||
|     <a class="radius button small" href="{{ site.url }}{{ site.blog_root }}page{{ paginator.next_page }}/" title="{{ site.data.language.next_posts }}">{{ site.data.language.next }} »</a> |     <a class="radius button small" href="{{ site.url }}{{ site.blog_root }}page{{ paginator.next_page }}/" title="{{ site.data.language.next_posts }}">{{ site.data.language.next }} »</a> | ||||||
|     {% endif %}  |     {% endif %} | ||||||
|   </nav> |   </nav> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Reference in a new issue