-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblueprints.yaml
More file actions
45 lines (42 loc) · 1.3 KB
/
Copy pathblueprints.yaml
File metadata and controls
45 lines (42 loc) · 1.3 KB
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
name: String Replacer
version: 1.0.0
description: "Substitute one or more specific strings with HTML, CSS, JS or other raw code, in pages and posts."
icon: retweet
author:
name: "Roberto Travagliante"
email: "roberto@travagliante.com"
homepage: "https://github.com/robertotravagliante/string-replacer"
keywords: "grav, plugin, html, string, replace, css, js, substitution"
bugs: "https://github.com/robertotravagliante/string-replacer/issues"
readme: "https://github.com/robertotravagliante/string-replacer/blob/main/README.md"
# Abilita/disabilita il plugin
enabled: true
# Configurazioni del plugin
form:
validation: loose
fields:
enabled:
type: toggle
label: PLUGIN_STRING_REPLACER.ENABLED
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
replacements:
type: list
label: PLUGIN_STRING_REPLACER.REPLACEMENTS
help: PLUGIN_STRING_REPLACER.HELP_REPLACEMENTS
style: vertical
fields:
.search:
type: text
label: PLUGIN_STRING_REPLACER.SEARCH
help: PLUGIN_STRING_REPLACER.HELP_SEARCH
.replace:
type: textarea
label: PLUGIN_STRING_REPLACER.REPLACE_WITH
help: PLUGIN_STRING_REPLACER.HELP_REPLACE
rows: 5