lektor-website/models/plugin.ini

39 lines
713 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]
type = strings