Move breadcrumbs block to object.html

This commit is contained in:
jeremystretch 2021-05-17 14:52:53 -04:00
parent f85d131e64
commit e0a3a9cd92
2 changed files with 11 additions and 10 deletions

View File

@ -5,6 +5,15 @@
{% load perms %}
{% load plugins %}
{% block header %}
{# Breadcrumbs #}
<nav class="breadcrumb-container" aria-label="breadcrumb">
<ol class="breadcrumb">
{% block breadcrumbs %}{% endblock %}
</ol>
</nav>
{{ block.super }}
{% endblock %}
{% block title %}{{ object }}{% endblock %}

View File

@ -91,18 +91,10 @@
{# Page header #}
{% block header %}
<div class="title-container">
{# Title #}
<div id="content-title">
{# Title #}
<h1 class="h2 w-100">{% block title %}{% endblock %}</h1>
{# Breadcrumbs #}
<nav class="breadcrumb-container" aria-label="breadcrumb">
<ol class="breadcrumb">
{% block breadcrumbs %}{%endblock%}
</ol>
</nav>
</div>
{# Controls #}