Provide initial styles for Initiatives section of homepage

This commit is contained in:
Clayton Dewey 2018-09-26 18:15:38 -06:00
parent 0fa12f27ef
commit 85836c4664
2 changed files with 26 additions and 7 deletions

View file

@ -154,7 +154,7 @@
{{ page.highlighted }} {{ page.highlighted }}
{{ page.help }} {{ page.help }}
<div class="columns is-centered"> <div class="section">
{% block main_content %} {% block main_content %}
{# Set attributes for content. #} {# Set attributes for content. #}
{% if not page.content_attributes %} {% if not page.content_attributes %}
@ -213,17 +213,33 @@
{% endblock sidebar_second %} {% endblock sidebar_second %}
</div> </div>
{% endblock main %} {% endblock main %}
{% block bottom %} {% block content_bottom %}
{# Bottom second colored section #} {# First bottom section #}
{% if page.bottom %} {% if page.content_bottom %}
<section class="hero is-info"> <section class="section related">
<div class="container"> <div class="container">
{{ page.bottom }} {{ 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> </div>
</section> </section>
{% endif %} {% endif %}
{% endblock bottom %} {% endblock bottom %}
{% block footer %} {% block footer %}
{% if page.footer %} {% if page.footer %}
<footer role="contentinfo" class="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']) %}