@ -150,9 +150,11 @@ main {
color: $article-color;
}
h3 {
.title {
margin: 1em .8em .5em .8em;
text-align: center;
font-size: 1.1em;
font-weight: bold;
.date {
@ -19,7 +19,7 @@
{% endfor %}
{% set image = resize_image(path=image, width=300, height=300, op="fill") %}
<img src="{{ image.url }}" alt="{{ recipe.title }}">
<h3>{{ recipe.title }}</h3>
<div class="title">{{ recipe.title }}</div>
{% if recipe.date %}<span class="date">{{ recipe.date | date(format="%d.%m.%Y") }}</span>{% endif %}
</a>
</article>