Merge branch '85-initatives-homepage' into 'master'

Provide initial styles for Initiatives section of homepage

See merge request agaric/patternlibrary!3
This commit is contained in:
mlncn 2018-10-07 05:19:20 +00:00
commit ca77844b97
2 changed files with 26 additions and 7 deletions

View file

@ -154,7 +154,7 @@
{{ page.highlighted }}
{{ page.help }}
<div class="columns is-centered">
<div class="section">
{% block main_content %}
{# Set attributes for content. #}
{% if not page.content_attributes %}
@ -213,17 +213,33 @@
{% endblock sidebar_second %}
</div>
{% endblock main %}
{% block bottom %}
{# Bottom second colored section #}
{% if page.bottom %}
<section class="hero is-info">
{% block content_bottom %}
{# First bottom section #}
{% if page.content_bottom %}
<section class="section related">
<div class="container">
{{ page.content_bottom }}
</div>
</section>
{% endif %}
{% endblock content_bottom %}
{# Second bottom section #}
{% block bottom %}
{% if page.bottom %}
<section class="section related">
<div class="container">
<div class="titlebar titlebar-bigborder content">
<div class="titlebar_title">
<h3 class="subtitle is-4 is-mono">Our Initiatives</h3>
</div>
</div>
<div class="columns"
{{ page.bottom }}
</div>
</div>
</section>
{% endif %}
{% endblock bottom %}
{% block footer %}
{% if page.footer %}
<footer role="contentinfo" class="footer">

View file

@ -0,0 +1,3 @@
{% extends "@octavia/layout/region--content-bottom.html.twig" %}
{% set attributes = attributes.addClass(['titlebar', 'titlebar-bigborder', 'content']) %}