From 962be2e9414efea0f0f14e102c79ad460b320e38 Mon Sep 17 00:00:00 2001 From: Jeff Dairiki Date: Tue, 22 Feb 2022 16:28:24 -0800 Subject: [PATCH] Render internal links as relative links. There were some locations where the site was linking to the listing of plugin tags with an absolute ("/plugin/tags") path. This fixes those to render as relative paths. This matches the rendering of all other internal links on the site, and avoids broken links when deploying to sites rooted under a path prefix (e.g. https://lektor.github.io/lektor-website/.) --- templates/plugin-tag.html | 4 +++- templates/plugin.html | 4 +++- templates/plugins.html | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/plugin-tag.html b/templates/plugin-tag.html index e9076037..8c8825d4 100644 --- a/templates/plugin-tag.html +++ b/templates/plugin-tag.html @@ -29,5 +29,7 @@ {{ render_plugin_list(this.items) }} -

View a list of all Lektor plugin tags here.

+

View a list of all Lektor plugin tags + here. +

{% endblock %} diff --git a/templates/plugin.html b/templates/plugin.html index 0527f1d5..6220cee9 100644 --- a/templates/plugin.html +++ b/templates/plugin.html @@ -68,7 +68,9 @@ {% else %}

Plugin has no tags.

{% endif %} -

View all tags.

+

+ View all tags. +

diff --git a/templates/plugins.html b/templates/plugins.html index c8dbab36..19fc1521 100644 --- a/templates/plugins.html +++ b/templates/plugins.html @@ -26,6 +26,7 @@

Plugins are also tagged with keywords and topics. Their tags are listed on their page and are navigable. - You can view a list of all of the tags here. + You can view a list of all of the tags + here.

{% endblock %}