@nera-static/nera 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,6 +103,17 @@ privacy:
|
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
Silence a rule on one page with `validate_ignore: [a11y-h1]` in its frontmatter.
|
|
106
|
+
To silence a rule on whole files or folders, list them under `ignore` — this
|
|
107
|
+
works for `nera validate` too, e.g. for `layout-missing` on content fragments
|
|
108
|
+
another page pulls in, or on drafts, which have no `layout` on purpose:
|
|
109
|
+
|
|
110
|
+
```yaml
|
|
111
|
+
ignore:
|
|
112
|
+
layout-missing:
|
|
113
|
+
- pages/*/references # a folder covers everything below it; * = one folder name
|
|
114
|
+
- pages/de/blog/drafts
|
|
115
|
+
```
|
|
116
|
+
|
|
106
117
|
Your own host is `origin` in `config/app.yaml`, else `app_origin` in
|
|
107
118
|
`config/canonical-links.yaml`. Without `legal.*` config, the imprint and privacy
|
|
108
119
|
links are found by their text in German and English only (*Impressum*,
|
package/package.json
CHANGED