diff --git a/content/plugin-categories/build/contents.lr b/content/plugin-categories/build/contents.lr index 43c6708a..ae5472d0 100644 --- a/content/plugin-categories/build/contents.lr +++ b/content/plugin-categories/build/contents.lr @@ -1 +1,8 @@ -name: Build +body: + +#### text-block #### +text: par +---- +class: default +--- +title: Build diff --git a/content/plugin-categories/content/contents.lr b/content/plugin-categories/content/contents.lr index ab96a980..84dc16b2 100644 --- a/content/plugin-categories/content/contents.lr +++ b/content/plugin-categories/content/contents.lr @@ -1 +1,8 @@ -name: Content +title: Content +--- +body: + +#### text-block #### +text: adsf +---- +class: default diff --git a/content/plugin-categories/deploy/contents.lr b/content/plugin-categories/deploy/contents.lr index 79a2a729..27ea37bf 100644 --- a/content/plugin-categories/deploy/contents.lr +++ b/content/plugin-categories/deploy/contents.lr @@ -1 +1,8 @@ -name: Deploy +body: + +#### text-block #### +text: ds +---- +class: default +--- +title: Deploy diff --git a/content/plugin-categories/templates/contents.lr b/content/plugin-categories/templates/contents.lr index 71a04a80..7335f309 100644 --- a/content/plugin-categories/templates/contents.lr +++ b/content/plugin-categories/templates/contents.lr @@ -1 +1,8 @@ -name: Templates +body: + +#### text-block #### +text: saf +---- +class: default +--- +title: Templates diff --git a/content/plugins/contents.lr b/content/plugins/contents.lr index 7e564258..3bbceaa2 100644 --- a/content/plugins/contents.lr +++ b/content/plugins/contents.lr @@ -4,13 +4,11 @@ title: Lektor Loves Plugins --- body: -#### banner #### -image: header.jpg ----- -height: 300 ----- -contents: image content #### text-block #### -text: some text +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. + +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. ---- class: default diff --git a/models/plugin-category.ini b/models/plugin-category.ini index c532d51c..2581cbb6 100644 --- a/models/plugin-category.ini +++ b/models/plugin-category.ini @@ -1,11 +1,8 @@ [model] name = Plugin Category +inherits = page label = {{ this.name }} hidden = yes [children] replaced_with = site.query('/plugins').filter(F.categories.contains(this)) - -[fields.name] -label = Name -type = string diff --git a/templates/macros/plugins.html b/templates/macros/plugins.html index bc3d02d1..0cbcef23 100644 --- a/templates/macros/plugins.html +++ b/templates/macros/plugins.html @@ -7,23 +7,19 @@ {% endmacro %} -{% macro render_plugin_list(plugins, active=none) %} - {% for category in site.query('/plugin-categories') %} -