mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
31 lines
1.2 KiB
JSON
31 lines
1.2 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld",
|
|
"import": [
|
|
"files-scs:config/util/representation-conversion/converters/content-type-replacer.json",
|
|
"files-scs:config/util/representation-conversion/converters/quad-to-rdf.json",
|
|
"files-scs:config/util/representation-conversion/converters/rdf-to-quad.json"
|
|
],
|
|
"@graph": [
|
|
{
|
|
"comment": "Renders Markdown snippets into the main page template.",
|
|
"@id": "urn:solid-server:default:MarkdownToHtmlConverter",
|
|
"@type": "MarkdownToHtmlConverter",
|
|
"templateEngine": {
|
|
"@type": "HandlebarsTemplateEngine",
|
|
"template": "$PACKAGE_ROOT/templates/main.html.hbs"
|
|
}
|
|
},
|
|
{
|
|
"comment": "Converts a container into a Markdown listing of its contents.",
|
|
"@id": "urn:solid-server:default:ContainerToTemplateConverter",
|
|
"@type": "ContainerToTemplateConverter",
|
|
"templateEngine": {
|
|
"@type": "HandlebarsTemplateEngine",
|
|
"template": "$PACKAGE_ROOT/templates/container.md.hbs"
|
|
},
|
|
"contentType": "text/markdown",
|
|
"identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" }
|
|
}
|
|
]
|
|
}
|