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.

update template

aichy1268172d4a95360
diff --git a/ui/template/homepage.html b/ui/template/homepage.html
index a49ec341..29607966 100644
--- a/ui/template/homepage.html
+++ b/ui/template/homepage.html
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="manifest" href="/manifest.json"/>
<link href="{{.cssPath}}" rel="stylesheet" />
- <script defer="defer" src="{{.scriptPath}}"></script>
+ <!-- <script defer="defer" src="{{.scriptPath}}"></script> -->
</head>
<body>
diff --git a/ui/template/question-detail.html b/ui/template/question-detail.html
index 1b708a49..0700fa79 100644
--- a/ui/template/question-detail.html
+++ b/ui/template/question-detail.html
@@ -4,7 +4,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
- <link href="https://answer.dev.segmentfault.com/static/css/main.d4180d41.css" rel="stylesheet" />
+ <link rel="manifest" href="/manifest.json"/>
+ <link href="{{.cssPath}}" rel="stylesheet" />
+ <!-- <script defer="defer" src="{{.scriptPath}}"></script> -->
</head>
<body>
@@ -549,4 +551,4 @@
</div>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/ui/template/tag-detail.html b/ui/template/tag-detail.html
index 979f7579..8b49bbfc 100644
--- a/ui/template/tag-detail.html
+++ b/ui/template/tag-detail.html
@@ -5,7 +5,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
- <link href="https://answer.dev.segmentfault.com/static/css/main.d4180d41.css" rel="stylesheet" />
+ <link rel="manifest" href="/manifest.json"/>
+ <link href="{{.cssPath}}" rel="stylesheet" />
+ <!-- <script defer="defer" src="{{.scriptPath}}"></script> -->
</head>
<body>
@@ -191,4 +193,4 @@
</div>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/ui/template/tags.html b/ui/template/tags.html
index 4e04be87..72d4dfb6 100644
--- a/ui/template/tags.html
+++ b/ui/template/tags.html
@@ -5,7 +5,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
- <link href="https://answer.dev.segmentfault.com/static/css/main.d4180d41.css" rel="stylesheet" />
+ <link rel="manifest" href="/manifest.json"/>
+ <link href="{{.cssPath}}" rel="stylesheet" />
+ <!-- <script defer="defer" src="{{.scriptPath}}"></script> -->
</head>
<body>
@@ -112,4 +114,4 @@
</div>
</body>
-</html>
\ No newline at end of file
+</html>