mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-28 14:18:53 +00:00
Added new heading class
This commit is contained in:
parent
db355661a4
commit
63e8dee5a0
2 changed files with 31 additions and 30 deletions
|
@ -33,26 +33,25 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<header>
|
<article class="heading">
|
||||||
|
{% if image %}
|
||||||
|
<span class="image featured">
|
||||||
|
{{ image.cropZoom(1038,437).loading('lazy').html(title, title)|raw }}
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h2>{{ title }}</h2>
|
<h2>{{ title }}</h2>
|
||||||
{% if listing_title %}
|
{% if listing_title %}
|
||||||
<p>{{ listing_title|raw }}</p>
|
<p>{{ listing_title|raw }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
|
||||||
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
|
|
||||||
{% include 'partials/breadcrumbs.html.twig' %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if image %}
|
|
||||||
<span class="image featured">
|
|
||||||
{{ image.cropZoom(1038,437).loading('lazy').html(title, title)|raw }}
|
|
||||||
</span>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{{ page.content|raw }}
|
{{ page.content|raw }}
|
||||||
|
|
||||||
|
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
|
||||||
|
{% include 'partials/breadcrumbs.html.twig' %}
|
||||||
|
{% endif %}
|
||||||
|
</article>
|
||||||
{% for child in collection %}
|
{% for child in collection %}
|
||||||
{% include 'partials/blog_item.html.twig' with {'page':child, 'truncate':true} %}
|
{% include 'partials/blog_item.html.twig' with {'page':child, 'truncate':true} %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
|
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
|
||||||
|
<div class="heading">
|
||||||
{% include 'partials/breadcrumbs.html.twig' %}
|
{% include 'partials/breadcrumbs.html.twig' %}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include 'partials/blog_item.html.twig' with {'truncate':false} %}
|
{% include 'partials/blog_item.html.twig' with {'truncate':false} %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue