diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 951bfc7..acf060a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -34,32 +34,32 @@ {{ 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 }}-style.css?t={{$t}}"> + <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 }}-style.css"> + <link rel="stylesheet" href="css/{{ .Site.Params.themeStyle | default "dark" }}-style.css"> {{range .Site.Params.extraCSSFiles}} <link rel="stylesheet" href="{{.}}"> {{end}} {{ end }} +<!-- Custom css --> +{{ range .Site.Params.customCSS -}} + <link rel="stylesheet" href="{{ . | absURL }}"> +{{- end }} + <!-- Icon --> <link rel="shortcut icon" {{ if .Site.Params.faviconFile }} |