1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-29 23:48:11 +01:00
blog/_src/_includes/category_index.html

38 lines
1.0 KiB
HTML

{% if post.categories contains "goodies" %}
<article class="hentry goodie">
<header>
<h1 class="entry-title"><a href="{{ post.url }}">{{ post.title | titlecase }}</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-download" href="/media/{{ post.download }}">Download <span>zip</span></a>
</p>
{% endif %}
</footer>
</section>
</article>
{% else %}
{% include articles.html %}
{% endif %}