mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-12 08:05:18 +01:00
47 lines
1.3 KiB
HTML
47 lines
1.3 KiB
HTML
|
---
|
||
|
layout: base
|
||
|
---
|
||
|
|
||
|
<h1 class="page-title"><a class="home" href="/" title="Back to Home">/</a>{{ page.category }}</h1>
|
||
|
|
||
|
{% for post in site.categories[page.category] %}
|
||
|
|
||
|
{% 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 %}
|
||
|
|
||
|
<footer class="goodie-actions">
|
||
|
|
||
|
<p class="info col3">
|
||
|
<a class="btn icon-info" href="{{ post.url }}">Release Post</a>
|
||
|
</p>
|
||
|
|
||
|
{% if post.download %}
|
||
|
<p class="download col3">
|
||
|
<a class="btn icon-arrow-down" href="/media/{{ post.download }}">Download <span>zip</span></a>
|
||
|
</p>
|
||
|
{% endif %}
|
||
|
|
||
|
</footer>
|
||
|
|
||
|
</section>
|
||
|
</article>
|
||
|
|
||
|
{% else %}
|
||
|
{% include index.html %}
|
||
|
{% endif %}
|
||
|
|
||
|
{% endfor %}
|