aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2017-05-20 00:52:35 -0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-05-20 11:52:35 +0800
commitbe5323a05fed04ede6dd7d0ca1f8ac3476536906 (patch)
tree8a9cfb2bb664ad9d7cc2c88ea5a9970ee3aee9d4 /templates/base
parent80cea8747fe87db98a9e930da6d664a245e5fc12 (diff)
downloadgitea-be5323a05fed04ede6dd7d0ca1f8ac3476536906.tar.gz
gitea-be5323a05fed04ede6dd7d0ca1f8ac3476536906.zip
Update HighlightJS and fix YAML files highlighting (#1764)
* Update HighlightJS to 9.11.0 * Fix YAML files highlighting
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer.tmpl2
-rw-r--r--templates/base/head.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index e8ad0a4d9f..643a2f1c85 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -51,7 +51,7 @@
<!-- Third-party libraries -->
{{if .RequireHighlightJS}}
- <script src="{{AppSubUrl}}/plugins/highlight-9.6.0/highlight.pack.js"></script>
+ <script src="{{AppSubUrl}}/plugins/highlight-9.11.0/highlight.pack.js"></script>
{{end}}
{{if .RequireMinicolors}}
<script src="{{AppSubUrl}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.min.js"></script>
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 68a7e43b69..8b6c25c643 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -37,7 +37,7 @@
<link rel="stylesheet" href="{{AppSubUrl}}/css/index.css?v={{MD5 AppVer}}">
{{if .RequireHighlightJS}}
- <link rel="stylesheet" href="{{AppSubUrl}}/plugins/highlight-9.6.0/github.css">
+ <link rel="stylesheet" href="{{AppSubUrl}}/plugins/highlight-9.11.0/github.css">
{{end}}
{{if .RequireMinicolors}}
<link rel="stylesheet" href="{{AppSubUrl}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.css">