Documentation integration example Last updated: 04. Jan 2023
Making your own custom display templates for Docly schemas.
This is example shows how you make the "Documentation" schema display in your own site with your bounding frame / design template.
Create a file called "Documentation.5.hash" in your # folder.
<!--#master file="index.html" -->
<html lang="no">
<head>
<title xdt:Transform="Replace">#Title# - Company inc.</title>
</head>
<body>
<article class="container" xdt:Transform="Replace" data="#">
#include("body.html")#
</article>
</body>
</html>
In this example the master page directive is used to transform a file called "index.html".
The data="#" attribute tells docly that the content is generated dynamically and can't be edited by the user directly in this file.