Remove unused divs, add Todd's classes
Also, make the front page different and alone
This commit is contained in:
parent
b642b7de7c
commit
cddc50d247
1 changed files with 10 additions and 14 deletions
|
@ -42,26 +42,22 @@
|
||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<section{{ header_section_attributes }}>
|
<section{{ header_section_attributes }}>
|
||||||
{% block header_and_search %}
|
{% block header_title %}
|
||||||
{% if page.header or page.header_search %}
|
{% if page.header %}
|
||||||
{# Header hero region + search #}
|
{# Header hero region #}
|
||||||
<div class="hero-body is-primary">
|
<div class="hero-body">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="columns is-vcentered">
|
{% if is_front and site_slogan %}
|
||||||
<div class="column">
|
<h1 class="title is-2">{{ site_slogan }}</h1>
|
||||||
|
{% elseif %}
|
||||||
|
<div class="titlebar">
|
||||||
{{ page.header }}
|
{{ page.header }}
|
||||||
{% if is_front and site_slogan %}
|
|
||||||
<h1 class="title">{{ site_slogan }}</h1>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-narrow">
|
{% endif %}
|
||||||
{{ page.header_search }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock header_and_search %}
|
{% endblock header_title %}
|
||||||
{% block tabs %}
|
{% block tabs %}
|
||||||
{# Drupal tabs #}
|
{# Drupal tabs #}
|
||||||
{% if page.header_tabs %}
|
{% if page.header_tabs %}
|
||||||
|
|
Loading…
Reference in a new issue