From 41bfe68edd063bdbba5bbaa0daa8fea020a8e7db Mon Sep 17 00:00:00 2001 From: Joseph Nix Date: Sat, 12 May 2018 11:59:57 -0500 Subject: [PATCH] [pluginlist-update] Displaying all lists of plugins in the same way, using the same macro. This caused an increase in build time, but has a better finished product. --- content/plugins/contents.lr | 6 +++--- templates/macros/plugins.html | 4 ++-- templates/plugin-category.html | 2 +- templates/plugin-tag.html | 11 ++++------- templates/plugins.html | 2 +- 5 files changed, 11 insertions(+), 14 deletions(-) diff --git a/content/plugins/contents.lr b/content/plugins/contents.lr index 3be5ac2f..1dd1f3e9 100644 --- a/content/plugins/contents.lr +++ b/content/plugins/contents.lr @@ -7,10 +7,10 @@ body: #### text-block #### text: -Lektor is a young project but it has a growing list of both official and community supported plugins. Official plugins were developed by the authors of Lektor and kept in good shape together with the rest of the project. Community plugins are moderated and updated regularly, but they might not keep pace with development on Lektor. They are maintained by the community. Install them with `lektor plugins add NAME`. - -This is a list of currently known plugins. Official plugins are prefixed with as asterisk (*) and are listed first in each section and separated by an underline. +Lektor is a young project but it has a growing list of both official and community supported plugins. Official plugins are maintained by Lektor and kept in good shape together with the rest of the project. Community plugins are moderated and updated regularly, but they might not keep pace with development on Lektor. They are maintained by the community. Install them with `lektor plugins add NAME`. If you want to make or publish your own plugin, or see our [docs :ref](/docs/plugins). + +(*) Asterisks denote official plugins. ---- class: default diff --git a/templates/macros/plugins.html b/templates/macros/plugins.html index bd57442c..17f9b21c 100644 --- a/templates/macros/plugins.html +++ b/templates/macros/plugins.html @@ -7,9 +7,9 @@ {% endmacro %} -{% macro render_plugin_list(category) %} +{% macro render_plugin_list(query) %}