1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-09-24 18:18:49 +02:00
blog/_src/_layouts/category_index.html

51 lines
1.5 KiB
HTML
Raw Normal View History

---
layout: base
---
2013-11-28 22:45:29 +01:00
<section role="main" id="main" class="row">
<h1 class="page-title"><a class="home" href="/" title="Back to Home">/</a>{{ page.category }}</h1>
2013-11-28 22:45:29 +01:00
{% for post in site.categories[page.category] %}
2013-11-28 22:45:29 +01:00
{% if post.categories contains "goodies" %}
<article class="hentry goodie">
<header>
<h1 class="entry-title"><a href="{{ post.url }}">{{ post.title }}</a></h1>
</header>
<section class="entry-content">
{% if post.image %}
<a href="{{ post.url }}">
{% picture {{ post.image }} class="teaser" %}
</a>
{% else %}
{{ post.excerpt }}
{% endif %}
2013-11-28 22:45:29 +01:00
<footer class="goodie-actions">
2013-11-28 22:45:29 +01:00
<p class="info col3">
<a class="btn icon-info" href="{{ post.url }}">Release Post</a>
</p>
2013-11-28 22:45:29 +01:00
{% if post.download %}
<p class="download col3">
<a class="btn icon-arrow-down" href="/media/{{ post.download }}">Download <span>zip</span></a>
</p>
{% endif %}
2013-11-28 22:45:29 +01:00
</footer>
2013-11-28 22:45:29 +01:00
</section>
</article>
2013-11-28 22:45:29 +01:00
{% else %}
{% include index.html %}
{% endif %}
{% endfor %}
2013-11-28 22:45:29 +01:00
</section>