From 04ebc1c74959ccbd7f35c6036fce5185ee9e860a Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 15 Jan 2021 18:58:46 -0500 Subject: posts: fixed fieldnote templates to use new breadcrumbs --- app/posts/templates/posts/fieldnote_detail.html | 39 +++++++------------------ app/posts/templates/posts/fieldnote_list.html | 15 +--------- 2 files changed, 11 insertions(+), 43 deletions(-) (limited to 'app/posts') diff --git a/app/posts/templates/posts/fieldnote_detail.html b/app/posts/templates/posts/fieldnote_detail.html index 0cb8dd1..3ebb7f8 100644 --- a/app/posts/templates/posts/fieldnote_detail.html +++ b/app/posts/templates/posts/fieldnote_detail.html @@ -13,26 +13,7 @@ {%endblock%} {% block bodyid %}class="notes--permalin detail" id="archive-{% if month %}{{month|month_number_to_name}}{%endif%}{{year}}"{%endblock%} -{% block breadcrumbs %} - -{% endblock %} +{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} {% block primary %}
diff --git a/app/posts/templates/posts/fieldnote_list.html b/app/posts/templates/posts/fieldnote_list.html index cd7601e..8aed277 100644 --- a/app/posts/templates/posts/fieldnote_list.html +++ b/app/posts/templates/posts/fieldnote_list.html @@ -6,20 +6,7 @@ {% block pagetitle %} Field Notes | luxagraf {% endblock %} {% block metadescription %}Rough notes and sketches from the field {% endblock %} {%block bodyid%}id="field-notes"{%endblock%} -{% block breadcrumbs %} - -{% endblock %} +{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} {% block primary %}

Field Notes

-- cgit v1.2.3