template readonly, make it plain html for fast

This commit is contained in:
Bel LaPointe
2022-02-17 11:58:37 -07:00
parent 20c1b738a6
commit 553df97240
6 changed files with 62 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
{{ define "_readonly" }}
<div class="fullscreen tb_fullscreen">
<article id="article">
</article>
<script>
document.getElementById("article").innerHTML = {{ .This.Content }}
</script>
</div>
{{ end }}