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.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']) %}