1
4
Fork 1

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

master
Emil Miler 2 years ago
parent 3f54c2b90a
commit a53e9cb80d

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

Loading…
Cancel
Save