Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index cf53dcc..e834f0a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -63,6 +63,13 @@
{{ end }}
{{ end }}
+{{ if (not .Params.disable_highlight) }}
+ {{ $highTheme := .Site.Params.highlightjsTheme }}
+ {{ with .Site.Params.highlightjsVersion }}
+ <link href='{{ $.Site.Params.highlightjsCDN | default "//cdn.bootcss.com" }}/highlight.js/{{ . }}/styles/{{ $highTheme }}.min.css' rel='stylesheet' type='text/css' />
+ {{ end }}
+{{ end }}
+
{{ template "_internal/google_analytics.html" . }}
</head>
<body>