doc/markdownlint-rules-grav-pages/rules/frontmatter.schema.json
OniriCorpe 7a01793062
Improve markdown formatting of pages, a lot of them are improperly formatted (#2429)
* Revert "Revert "markdown format""

* fix formating

* fix readme

* add .markdownlint.json

* add markdownlint-rules-grav-pages

* add markdownlint-rules-grav-pages files

* add license for Markdown Lint Rules for Grav Pages

* fix [figure] mess

* fix [figure] mess 2

* fix [figure] mess 3

* maj .gitignore

* various fixes

* fix markdownlint-rules-grav-pages

* second formater pass

* various manual fixes

* add .markdownlintignore

* markdownlintignore: auto-generated pages

* disable proper-names for html_elements

* another bunch of various markdown fixes

* Update pages/02.administer/10.install/20.dns_config/dns_config.es.md

Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>

---------

Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
2024-03-23 08:59:52 +01:00

119 lines
3.5 KiB
JSON

{
"type": "object",
"properties": {
"title": { "type": "bool", "minLength": 2, "maxLength": 80 },
"media_order": { "type": "string" },
"body_classes": { "type": "string" },
"published": { "type": "boolean" },
"visible": { "type": "boolean" },
"redirect": { "type": "string" },
"cache_enable": { "type": "boolean" },
"debugger": { "type": "boolean" },
"never_cache_twig": { "type": "boolean" },
"twig_first": { "type": "boolean" },
"routable": { "type": "boolean" },
"login_redirect_here": { "type": "boolean" },
"last_modified": { "type": "boolean" },
"http_response_code": { "type": "integer" },
"lightbox": { "type": "boolean" },
"etag": { "type": "boolean" },
"template": { "type": "string" },
"template_format": { "type": "string" },
"date": { "type": "string" },
"publish_date": { "type": "string" },
"unpublish_date": { "type": "string" },
"expires": { "type": "integer" },
"menu": { "type": "string", "minLength": 2, "maxLength": 30 },
"slug": { "type": "string" },
"routes": {
"type": "object",
"properties": {
"default": { "type": "string" },
"canonical": { "type": "string" },
"aliases": { "type": "array", "items": { "type": "string" } }
},
"additionalProperties": false
},
"taxonomy": {
"type": "object",
"properties": {
"category": { "type": "array", "items": { "type": "string" } },
"tag": { "type": "array", "items": { "type": "string" } }
},
"additionalProperties": false
},
"external_url": { "type": "string" },
"external_links": {
"type": "object",
"properties": {
"target": { "type": "string" }
},
"additionalProperties": false
},
"author": {
"type": "object",
"properties": {
"name": { "type": "string" },
"twitter": { "type": "string" },
"bio": { "type": "string" }
},
"additionalProperties": false
},
"summary": {
"type": "object",
"properties": {
"enabled": { "type": "boolean" },
"format": { "type": "string" },
"size": { "type": "integer" }
},
"additionalProperties": false
},
"sitemap": {
"type": "object",
"properties": {
"changefreq": { "type": "string" },
"priority": { "type": "number" }
},
"additionalProperties": false
},
"process": {
"type": "object",
"properties": {
"markdown": { "type": "boolean" },
"twig": { "type": "boolean" }
},
"additionalProperties": false
},
"markdown": {
"type": "object",
"properties": {
"extra": { "type": "boolean" },
"auto_line_breaks": { "type": "boolean" },
"auto_url_links": { "type": "boolean" },
"escape_markup": { "type": "boolean" },
"special_chars": { "type": "object", "additionalProperties": { "type": "string" } }
},
"additionalProperties": false
},
"metadata": {
"type": "object",
"properties": {
"refresh": { "type": "integer" }
},
"additionalProperties": { "type": "string" }
},
"page-toc": {
"type": "object",
"properties": {
"active": { "type": "boolean" },
"start": { "type": "integer" },
"depth": { "type": "integer" }
},
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"title"
]
}