-
Notifications
You must be signed in to change notification settings - Fork 0
/
blueprints.yaml
87 lines (77 loc) · 1.89 KB
/
blueprints.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: News
slug: news
type: plugin
version: 0.4.4
description: Flex Object based blogging
icon: newspaper-o
author:
name: Sebastian Laube
email: hello@sebastianlaube.de
homepage: https://github.com/bitstarr/grav-plugin-news
keywords: grav, plugin, news, flex-objects, blog
bugs: https://github.com/bitstarr/grav-plugin-news/issues
docs: https://github.com/bitstarr/grav-plugin-news/blob/develop/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.6.0' }
- { name: flex-objects, version: '>=1.3.0' }
- { name: twig-extensions, version: '>=1.2.2' }
form:
validation: loose
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
built_in_css:
type: toggle
label: PLUGIN_NEWS.CONF.USE_BUILT_IN_CSS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
news_page:
type: pages
# start_route: /
show_modular: false
limit_levels: 2
label: PLUGIN_NEWS.CONF.NEWS_PAGE_SLUG
validate:
required: true
news_per_page:
type: number
label: PLUGIN_NEWS.CONF.NEWS_PER_PAGE
validate:
required: true
type: number
pagination_delta:
type: number
label: PLUGIN_NEWS.CONF.DELTA
help: PLUGIN_NEWS.CONF.DELTA_HELP
validate:
required: true
type: number
feed.limit:
type: number
label: PLUGIN_NEWS.CONF.FEED_LIMIT
default: 10
validate:
required: true
type: number
feed.title:
type: text
label: PLUGIN_NEWS.CONF.FEED_TITLE
validate:
required: true
feed.sescription:
type: text
label: PLUGIN_NEWS.CONF.FEED_DESCRIPTION