[[ include partials/header ]]
[[ if (! isNew) { ]]
[[- doc.displayName ]]
[[ if (user.isStaff) { ]]
Edit this document
[[ include partials/edit-documentation ]]
[[ } ]]
[[- content ]]
[[ } else { ]]
[[ if (doc.name !== "new") { ]]
404!
[[- doc.name ]] not found!
[[ } ]]
[[ if (user.isStaff) { ]]
Create this document
[[ include partials/edit-documentation ]]
[[ } ]]
[[ } ]]
[[ include partials/sign-in ]]
[[ include partials/footer ]]
[[ include partials/scripts ]]