Move tabs (edit, delete, etc) *above* node title

This commit is contained in:
Benjamin Melançon 2019-08-31 09:10:08 -04:00
parent 0ef28d003d
commit 6ea2ed7778

View file

@ -59,6 +59,16 @@
</div> </div>
{{ page.highlighted }} {{ page.highlighted }}
{{ page.help }} {{ page.help }}
{% block tabs %}
{# Drupal tabs #}
{% if page.header_tabs %}
<div class="hero-footer">
<div class="container">
{{ page.header_tabs }}
</div>
</div>
{% endif %}
{% endblock tabs %}
{% if not is_front %} {% if not is_front %}
<section class="page-title"> <section class="page-title">
{% block header_and_search %} {% block header_and_search %}
@ -73,16 +83,6 @@
</div> </div>
{% endif %} {% endif %}
{% endblock header_and_search %} {% endblock header_and_search %}
{% block tabs %}
{# Drupal tabs #}
{% if page.header_tabs %}
<div class="hero-footer">
<div class="container">
{{ page.header_tabs }}
</div>
</div>
{% endif %}
{% endblock tabs %}
</section> </section>
{% endif %} {% endif %}
{% endblock header %} {% endblock header %}