1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

more isolation of goodie post layout to goodies page, closes #1

This commit is contained in:
Matthias Kretschmann 2013-12-04 22:36:53 +01:00
parent c9abf99516
commit a9ea62983b

View File

@ -55,12 +55,12 @@
{% if has_more == 'true' %}
{{ post.content | post.excerpt | excerpt | markdownify }}
{% else %}
{% unless post.categories contains "goodies" %}
{% unless post.categories contains "goodies" and page.path contains "goodies" %}
{{ post.excerpt | markdownify }}
{% endunless %}
{% endif %}
{% if post.categories contains "goodies" %}
{% if post.categories contains "goodies" and page.path contains "goodies" %}
<footer class="goodie-actions">
<p class="info col3">
@ -74,9 +74,11 @@
{% endif %}
</footer>
{% else %}
<a class="more-link" href="{{ post.url }}">Continue reading <i class="icon-arrow-right"></i></a>
{% endif %}
{% unless page.path contains "goodies" %}
<a class="more-link" href="{{ post.url }}">Continue reading <i class="icon-arrow-right"></i></a>
{% endunless %}
</section>
</article>