lektor-website/models/plugin.ini

36 lines
683 B
INI
Raw Normal View History

[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')