Update dependency highlight.js to v11.11.1 #4
2 changed files with 3 additions and 3 deletions
|
@ -3,9 +3,9 @@
|
|||
|
||||
{{ with .Site.Params.extra }}
|
||||
{{ if .highlightjs }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js"></script>
|
||||
{{ range .highlightjslanguages }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{.}}.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/languages/{{.}}.min.js"></script>
|
||||
{{ end }}
|
||||
|
||||
<script>hljs.highlightAll();</script>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
{{ end -}}
|
||||
|
||||
{{ if .Site.Params.extra.highlightjs }}
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/default.min.css">
|
||||
{{ end }}
|
||||
|
||||
<link rel="stylesheet"
|
||||
|
|
Loading…
Add table
Reference in a new issue