grav-theme-libretic/templates/item.html.twig

28 lines
724 B
Twig
Raw Normal View History

2015-01-15 19:15:54 +01:00
{% embed 'partials/base.html.twig' %}
{% set base_url = page.parent.url %}
{% set feed_url = base_url %}
{% if base_url == '/' %}
{% set base_url = '' %}
{% endif %}
{% if base_url == base_url_relative %}
{% set feed_url = base_url~'/'~page.parent.slug %}
{% endif %}
{% block content %}
{% include 'breadcrumbs.html.twig' %}
<div class="blog-content-item grid pure-g-r">
<div id="item" class="block pure-u-2-3">
{% include 'partials/blog_item.html.twig' with {'truncate':false,'big_header':true} %}
</div>
<div id="sidebar" class="block size-1-3 pure-u-1-3">
{% include 'partials/sidebar.html.twig' %}
</div>
</div>
{% endblock %}
{% endembed %}