lektor-website/models/plugin.ini

40 lines
829 B
INI

[model]
name = Plugin
label = {{ this.title }}
[children]
enabled = no
[fields.name]
label = Plugin Name (as it appears when you install it)
type = string
size = large
[fields.summary]
label = Summary of the plugin. If not supplied here, it will be pulled from the package data on PyPI.
type = html
size = large
[fields.official]
label = Official
type = boolean
checkbox_label = If true, then the plugin will be marked as official.
default = false
width = 1/4
[fields.allow_comments]
label = Allow Comments
type = boolean
default = yes
checkbox_label = Show comment box
width = 1/4
[fields.categories]
label = Categories
type = select
source = site.query('/plugin-categories')
[fields.tags]
label = Tags used on this site. New line separated. These are not the keywords in setup.py, which are used on PyPI.
type = strings