refactor: templates/links -> generalize to more static content

This commit is contained in:
2023-03-21 01:13:41 +00:00
parent a8aa5ac6e6
commit a5eb9eb471
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
+++ +++
template = "links.html" template = "static.html"
title = "Other Things You Might Enjoy" title = "Other Things You Might Enjoy"
+++ +++

View File

@@ -1,7 +1,8 @@
{% extends "base.html" %} {% extends "base.html" %}
{# template for "static", i.e. non-feed, pages #}:
{% block breadcrumbs %} {% block breadcrumbs %}
/ <a href="/">home</a> / <a>links</a> / <a href="/">home</a> / <a>{{ page.slug }}</a>
{% endblock breadcrumbs %} {% endblock breadcrumbs %}
{# disable the rss header link #} {# disable the rss header link #}
@@ -9,7 +10,7 @@
{% endblock rss_link %} {% endblock rss_link %}
{% block title %} {% block title %}
Links |Perfectly Sane {{ page.title }}
{% endblock title %} {% endblock title %}
{% block content %} {% block content %}