This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathblueprints.yaml
88 lines (87 loc) · 2.67 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
88
name: Blackhole
version: 1.1.0
description: Static site generator for Grav
icon: circle
author:
name: Barry Anders
homepage: https://github.com/barryanders/grav-plugin-blackhole
keywords: grav, plugin, static, site, generator
bugs: https://github.com/barryanders/grav-plugin-blackhole/issues
docs: https://github.com/barryanders/grav-plugin-blackhole/blob/main/README.md
license: MIT
form:
validation: strict
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
generate:
type: fieldset
title: Generate
info: Generate your static site.
icon: circle
collapsed: false
collapsible: false
fields:
generate.output_url:
type: text
label: Output URL
help: The URL of your static site. This determines the domain used in the absolute path of your links.
generate.output_path:
type: text
label: Output Path
help: The directory to which your static site will be written (relative to Grav root).
generate.routes:
type: text
label: Routes
help: Limit generation to a select list of page routes.
generate.use_sitemap:
type: toggle
label: Use urls from a sitemap url
help: Instead of listing all pages use a sitemap generated by the grav Sitemap plugin
highlight: 1
default: 0
options:
1: Yes
0: No
validate:
type: bool
generate.simultaneous:
type: int
label: Simultaneous Limit
help: Determine how many files will generate at the same time.
size: x-small
validate:
type: number
min: 1
generate.assets:
type: toggle
label: Assets
help: Copy assets to the output path.
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
generate.force:
type: toggle
label: Force
help: Overwrite previously generated files.
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
generate.button:
type: text
disabled: true
label: <script>$(document).ready(function() { $('input[name="data[generate][button]"]').replaceWith('<a class="button" href="?blackhole=generate" style="float:right;"><i class="fa fa-fw fa-circle"></i> Generate</a>'); });</script>