Změna názvu receptu z H3 na div.title

This commit is contained in:
Emil Miler 2022-04-19 18:20:11 +02:00
parent 3f54c2b90a
commit a53e9cb80d
2 changed files with 4 additions and 2 deletions

View File

@ -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 {

View File

@ -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>