diff options
author | Unknwon <u@gogs.io> | 2020-01-31 23:33:47 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2020-01-31 23:33:47 +0800 |
commit | 19ae04da66bc30ba97b2524ce4df89c9005f2feb (patch) | |
tree | 6ab132e34bc852a8213da249560a60d3f62e9876 /templates | |
parent | 2e00f00ab0b9fe99cb1bdc1c576e8423e5b86a81 (diff) |
public/plugins: upgrade highlight.js 9.16.2 to 9.18.0
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/footer.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 01bb7c85..8d3db2b5 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -34,8 +34,9 @@ <!-- Third-party libraries --> {{if .RequireHighlightJS}} - <link rel="stylesheet" href="{{AppSubURL}}/plugins/highlight-9.16.2/github.css"> - <script src="{{AppSubURL}}/plugins/highlight-9.16.2/highlight.pack.js"></script> + <link rel="stylesheet" href="{{AppSubURL}}/plugins/highlight-9.18.0/github.css"> + <script src="{{AppSubURL}}/plugins/highlight-9.18.0/highlight.pack.js"></script> + <script>hljs.initHighlightingOnLoad();</script> {{end}} {{if .RequireMinicolors}} <link rel="stylesheet" href="{{AppSubURL}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.css"> |