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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <Hanzei@users.noreply.github.com>2018-03-25 18:11:48 +0300
committerVicky Lai <vicky@vickylai.io>2018-03-25 18:11:48 +0300
commit96c9303c4fd9e0b2f69d6cbf101005a338f3236c (patch)
tree36ff8a769f7e90495a534faa9b5f4fca7d32b030 /layouts/partials/header.html
parentbd73c0f47bc83e88ce08e2a51cc2d9bc63368cd9 (diff)
Use local version of imports instead of a cdn (#34)
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html11
1 files changed, 3 insertions, 8 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 67e122d..acf060a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -34,23 +34,18 @@
{{ end }}
<!-- jQuery -->
-<script
-src="https://code.jquery.com/jquery-3.2.1.min.js"
-integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
-crossorigin="anonymous"></script>
+<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<!-- Fonts and icon CSS -->
-<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans">
+<link rel="stylesheet" href="/css/font-awesome.min.css">
+<link rel="stylesheet" href="/css/nunito_sans.css">
{{ if .Site.Params.cacheBuster }}
-
{{ $t := now.Unix }}
<link rel="stylesheet" href="css/{{ .Site.Params.themeStyle | default "dark" }}-style.css?t={{$t}}">
{{range .Site.Params.extraCSSFiles}}
<link rel="stylesheet" href="{{.}}?t={{$t}}">
{{ end }}
-
{{ else }}
<link rel="stylesheet" href="css/{{ .Site.Params.themeStyle | default "dark" }}-style.css">