generated from inherentlee/11ty
Update content through Mattrbld
This commit is contained in:
@ -14,7 +14,8 @@
|
|||||||
},
|
},
|
||||||
"rawEntityNames": false,
|
"rawEntityNames": false,
|
||||||
"schemas": [
|
"schemas": [
|
||||||
"/.mattrbld/schemas/page.json"
|
"/.mattrbld/schemas/page.json",
|
||||||
|
"/.mattrbld/schemas/page-html.json"
|
||||||
],
|
],
|
||||||
"type": "md",
|
"type": "md",
|
||||||
"urlTemplate": "/:title/"
|
"urlTemplate": "/:title/"
|
||||||
|
|||||||
112
.mattrbld/schemas/page-html.json
Normal file
112
.mattrbld/schemas/page-html.json
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
{
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"default": null,
|
||||||
|
"icon": "text-input",
|
||||||
|
"key": "title",
|
||||||
|
"label": "Title",
|
||||||
|
"localised": false,
|
||||||
|
"options": {
|
||||||
|
"wrapping": true,
|
||||||
|
"multiline": false
|
||||||
|
},
|
||||||
|
"tab": "Untitled Tab",
|
||||||
|
"validation": {
|
||||||
|
"enforceMinMax": true,
|
||||||
|
"max": null,
|
||||||
|
"min": null,
|
||||||
|
"regex": null,
|
||||||
|
"regexError": null,
|
||||||
|
"required": true,
|
||||||
|
"unit": "length"
|
||||||
|
},
|
||||||
|
"value": null,
|
||||||
|
"version": 1,
|
||||||
|
"visibility": {
|
||||||
|
"hidden": false,
|
||||||
|
"showByValue": {
|
||||||
|
"field": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "rich text",
|
||||||
|
"default": null,
|
||||||
|
"icon": "text",
|
||||||
|
"key": "content",
|
||||||
|
"label": "body",
|
||||||
|
"localised": false,
|
||||||
|
"options": {
|
||||||
|
"outputFormat": "html",
|
||||||
|
"blockFormats": [
|
||||||
|
"blockquote",
|
||||||
|
"heading",
|
||||||
|
"hr",
|
||||||
|
"orderedList",
|
||||||
|
"unorderedList",
|
||||||
|
"image",
|
||||||
|
"codeBlock"
|
||||||
|
],
|
||||||
|
"inlineFormats": [
|
||||||
|
"em",
|
||||||
|
"strong",
|
||||||
|
"link",
|
||||||
|
"code"
|
||||||
|
],
|
||||||
|
"formatOptions": [
|
||||||
|
"allowQuoteFooters",
|
||||||
|
"allowNestedLists",
|
||||||
|
"allowImageCaptions"
|
||||||
|
],
|
||||||
|
"inputRuleOptions": [
|
||||||
|
"autoquotes",
|
||||||
|
"dashes",
|
||||||
|
"ellipsis",
|
||||||
|
"noDoubleCaps",
|
||||||
|
"noDoubleSpace"
|
||||||
|
],
|
||||||
|
"minHeading": 2,
|
||||||
|
"maxHeading": 4,
|
||||||
|
"codeLangs": [
|
||||||
|
"html",
|
||||||
|
"css",
|
||||||
|
"javascript",
|
||||||
|
"markdown"
|
||||||
|
],
|
||||||
|
"allowRaw": false,
|
||||||
|
"urlTemplate": "",
|
||||||
|
"urlSuffix": "",
|
||||||
|
"linkOptions": [
|
||||||
|
"forceBlankTarget",
|
||||||
|
"allowExternal",
|
||||||
|
"allowInternal"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"tab": "Untitled Tab",
|
||||||
|
"validation": {
|
||||||
|
"enforceMinMax": true,
|
||||||
|
"max": null,
|
||||||
|
"min": null,
|
||||||
|
"regex": null,
|
||||||
|
"regexError": null,
|
||||||
|
"required": false,
|
||||||
|
"unit": "length"
|
||||||
|
},
|
||||||
|
"value": null,
|
||||||
|
"version": 1,
|
||||||
|
"visibility": {
|
||||||
|
"hidden": false,
|
||||||
|
"showByValue": {
|
||||||
|
"field": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tabs": [
|
||||||
|
{
|
||||||
|
"label": "Untitled Tab",
|
||||||
|
"groupAs": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
5
src/index-html.md
Normal file
5
src/index-html.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: testing
|
||||||
|
___mb_schema: /.mattrbld/schemas/page-html.json
|
||||||
|
---
|
||||||
|
<p><h2>Does raw html work here</h2></p>
|
||||||
6
src/index-with-raw-html.md
Normal file
6
src/index-with-raw-html.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: testing md with html
|
||||||
|
hero: null
|
||||||
|
___mb_schema: /.mattrbld/schemas/page.json
|
||||||
|
---
|
||||||
|
<h2>does raw html work here</h2>
|
||||||
Reference in New Issue
Block a user