From 94e5d8ed9f6804e93bc002a4bbcbae446be8a8a6 Mon Sep 17 00:00:00 2001 From: colin Date: Tue, 12 Jul 2022 15:44:00 -0700 Subject: [PATCH] about: link to 'links' --- templates/about.html | 8 +++++--- templates/base.html | 6 ++++-- templates/links.html | 4 ---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/about.html b/templates/about.html index 1d8e0c4..778b8d7 100644 --- a/templates/about.html +++ b/templates/about.html @@ -8,9 +8,11 @@ {% block rss_link %} {% endblock rss_link %} -{# disable the 'about' header link #} -{% block breadcrumbs_right %} -{% endblock breadcrumbs_right %} +{# instead of linking to our self in the header, link to the outlinks #} +{% block right_header_link %} +{% set links = get_page(path="links.md") %} +links +{% endblock right_header_link %} {% block title %} About |Perfectly Sane diff --git a/templates/base.html b/templates/base.html index e176279..7c6b763 100644 --- a/templates/base.html +++ b/templates/base.html @@ -31,9 +31,11 @@ {% block breadcrumbs_right %} - about + {% block right_header_link %} + about + {% endblock %} - {% endblock %} + {% endblock %} diff --git a/templates/links.html b/templates/links.html index 5224dd1..af9247f 100644 --- a/templates/links.html +++ b/templates/links.html @@ -8,10 +8,6 @@ {% block rss_link %} {% endblock rss_link %} -{# disable the 'about' header link #} -{% block breadcrumbs_right %} -{% endblock breadcrumbs_right %} - {% block title %} Links |Perfectly Sane {% endblock title %}