DocsUpdated 18 Oct 2026
Documentation integration example
Making your own custom display templates for Docly schemas.
This example shows how you make the "Documentation" schema display in your own site, inside your own design template.
Create a file called "Documentation.5.hash" in your # folder.
<!--#master file="index.html" -->
<html lang="en">
<head>
<title xdt:Transform="Replace">#docly.htmlEncode(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.