Rudimental blog
This commit is contained in:
parent
2d0d6a492b
commit
132fb97b06
|
@ -6,16 +6,13 @@
|
|||
{% set show_sidebar = header_var('show_sidebar', [page, blog])|defined(true) %}
|
||||
{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %}
|
||||
|
||||
{% block body %}
|
||||
{% block page_content %}
|
||||
<section id="body-wrapper" class="section blog-listing">
|
||||
<section class="container {{ grid_size }}">
|
||||
|
||||
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
|
||||
{% include 'partials/breadcrumbs.html.twig' %}
|
||||
{% endif %}
|
||||
<div>
|
||||
{% for child in collection %}
|
||||
{% include 'partials/blog-list-item.html.twig' with {blog: page, page : child %}
|
||||
{% include 'partials/blog-list-item.html.twig' with {blog: page, page : child } %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -6,12 +6,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<div class="card-header">
|
||||
<div class="card-subtitle text-gray">
|
||||
{% include 'partials/blog/date.html.twig' %}
|
||||
</div>
|
||||
<div class="card-title">
|
||||
{% include 'partials/blog/title.html.twig' with {title_level: 'h5'} %}
|
||||
</div>
|
||||
<a href="{{ page.url }}">{{ page.title }}</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{% if page.summary != page.content %}
|
||||
|
|
Loading…
Reference in New Issue