Browse Source

修改代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1283/head
zouap 3 years ago
parent
commit
9459ed2bba
3 changed files with 7 additions and 7 deletions
  1. +1
    -5
      templates/base/footer.tmpl
  2. +6
    -1
      templates/base/head.tmpl
  3. +0
    -1
      templates/home.tmpl

+ 1
- 5
templates/base/footer.tmpl View File

@@ -37,11 +37,7 @@
{{if .RequireTribute}}
<script src="{{StaticUrlPrefix}}/vendor/plugins/tribute/tribute.min.js"></script>
{{end}}
{{if .PageIsHome}}
<script rel="stylesheet" src="{{StaticUrlPrefix}}/vendor/plugins/jquery.particleground/jquery.particleground.min.js"></script>
{{end}}
<script src="{{StaticUrlPrefix}}/fomantic/semantic.min.js?v={{MD5 AppVer}}"></script>
<script src="{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script>

{{template "custom/footer" .}}
</body>
</html>

+ 6
- 1
templates/base/head.tmpl View File

@@ -186,7 +186,12 @@ var _hmt = _hmt || [];
})();
</script>
<script src="/self/func.js" type="text/javascript"></script>
<script src="{{StaticUrlPrefix}}/js/jquery.js?v={{MD5 AppVer}}"></script>
<script src="/self/js/jquery.min.js" type="text/javascript"></script>
{{if .PageIsHome}}
<script rel="stylesheet" src="{{StaticUrlPrefix}}/vendor/plugins/jquery.particleground/jquery.particleground.min.js"></script>
{{end}}
<script src="{{StaticUrlPrefix}}/fomantic/semantic.min.js?v={{MD5 AppVer}}"></script>
<script src="{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script>
</head>
<body>
{{template "custom/body_outer_pre" .}}


+ 0
- 1
templates/home.tmpl View File

@@ -144,7 +144,6 @@
</div>
<div class="am-mt-30"></div>

<script src="/self/js/jquery.min.js" type="text/javascript"></script>
<script src="/home/home.js" type="text/javascript"></script>
<script>



Loading…
Cancel
Save