1
4
Fork 1

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

master
Emil Miler 3 years ago
parent 3f54c2b90a
commit a53e9cb80d

@ -150,9 +150,11 @@ main {
color: $article-color; color: $article-color;
} }
h3 { .title {
margin: 1em .8em .5em .8em; margin: 1em .8em .5em .8em;
text-align: center; text-align: center;
font-size: 1.1em;
font-weight: bold;
} }
.date { .date {

@ -19,7 +19,7 @@
{% endfor %} {% endfor %}
{% set image = resize_image(path=image, width=300, height=300, op="fill") %} {% set image = resize_image(path=image, width=300, height=300, op="fill") %}
<img src="{{ image.url }}" alt="{{ recipe.title }}"> <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 %} {% if recipe.date %}<span class="date">{{ recipe.date | date(format="%d.%m.%Y") }}</span>{% endif %}
</a> </a>
</article> </article>

Loading…
Cancel
Save