2023-10-19 09:13:48 +02:00

31 lines
1.2 KiB
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Template engine that finds the appropriate template engine to use based on the template extension.",
"@id": "urn:solid-server:default:TemplateEngine",
"@type": "WaterfallHandler",
"handlers": [
{
"comment": "Template engine that supports EJS templates.",
"@type": "EjsTemplateEngine",
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" }
},
{
"comment": "Template engine that supports Handlebars (HBS) templates",
"@type": "HandlebarsTemplateEngine",
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" }
}
]
},
{
"comment": "Renders the main template of all HTML pages. Other generated templates should be fed as input into this.",
"@id": "urn:solid-server:default:MainTemplateEngine",
"@type": "StaticTemplateEngine",
"templateEngine": { "@id": "urn:solid-server:default:TemplateEngine" },
"template": "@css:templates/main.html.ejs"
}
]
}