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:
commit
ca77844b97
2 changed files with 26 additions and 7 deletions
|
@ -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">
|
||||||
|
|
3
agaric/templates/layout/region--content-bottom.html.twig
Normal file
3
agaric/templates/layout/region--content-bottom.html.twig
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{% extends "@octavia/layout/region--content-bottom.html.twig" %}
|
||||||
|
|
||||||
|
{% set attributes = attributes.addClass(['titlebar', 'titlebar-bigborder', 'content']) %}
|
Loading…
Reference in a new issue