Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

remove template usercode

aichy126df99310ffdc9
diff --git a/ui/template/footer.html b/ui/template/footer.html
index 28115406..e6271f73 100644
--- a/ui/template/footer.html
+++ b/ui/template/footer.html
@@ -11,6 +11,5 @@
</footer>
</div>
</body>
-{{templateHTML .FooterCode}}
</html>
{{end}}
diff --git a/ui/template/header.html b/ui/template/header.html
index 2346e3ed..0780ba29 100644
--- a/ui/template/header.html
+++ b/ui/template/header.html
@@ -13,12 +13,10 @@
<link href="{{.cssPath}}" rel="stylesheet" />
<link href="/custom.css" rel="stylesheet">
<script defer="defer" src="{{.scriptPath}}"></script>
- {{templateHTML .HeadCode}}
{{if $.siteinfo.JsonLD }}{{ .siteinfo.JsonLD | templateHTML}}{{end}}
</head>
<body>
-{{templateHTML .HeaderCode}}
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
<nav id="header" class="sticky-top navbar navbar-expand-lg navbar-dark">