1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 17:15:18 +01:00

fix goodies display

This commit is contained in:
Matthias Kretschmann 2015-09-26 23:04:13 +02:00
parent bdf9065e9b
commit 2ac464a307
3 changed files with 11 additions and 14 deletions

View File

@ -63,13 +63,13 @@
{% capture has_more %}{{ post.content | has_excerpt }}{% endcapture %} {% capture has_more %}{{ post.content | has_excerpt }}{% endcapture %}
{% unless post.categories contains "goodies" and page.path contains "goodies" %}
{% if has_more == 'true' %} {% if has_more == 'true' %}
{{ post.content | post.excerpt | excerpt | markdownify }} {{ post.content | post.excerpt | excerpt | markdownify }}
{% else %} {% else %}
{% unless post.categories contains "goodies" and page.path contains "goodies" %}
{{ post.excerpt | markdownify }} {{ post.excerpt | markdownify }}
{% endunless %}
{% endif %} {% endif %}
{% endunless %}
{% if post.categories contains "goodies" and page.path contains "goodies" %} {% if post.categories contains "goodies" and page.path contains "goodies" %}
<footer class="goodie-actions grid grid--gutters grid--full grid-small--fit"> <footer class="goodie-actions grid grid--gutters grid--full grid-small--fit">

View File

@ -8,7 +8,6 @@ author: Matthias Kretschmann
featured: true featured: true
date: 2012-07-16 14:36:58+00:00 date: 2012-07-16 14:36:58+00:00
wordpress_id: 2300
categories: categories:
- design - design
- goodies - goodies

View File

@ -8,9 +8,7 @@ author: Matthias Kretschmann
featured: true featured: true
date: 2012-08-07 13:15:44+00:00 date: 2012-08-07 13:15:44+00:00
wordpress_id: 2350 category: goodies
categories:
- goodies
tags: tags:
- iphone - iphone
- wallpaper - wallpaper