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.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index fba71a4..fe02f44 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -50,21 +50,19 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,800,900|Source+Sans+Pro:400,700">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.1.25/jquery.fancybox.min.css">
- <link rel="stylesheet" href="{{ "css/main.css" | absURL }}">
- <link rel="stylesheet" href="{{ "css/add-on.css" | absURL }}">
+ <link rel="stylesheet" href="{{ "css/main.css" | relURL }}">
+ <link rel="stylesheet" href="{{ "css/add-on.css" | relURL }}">
{{ end }}
{{ if ne ($.Scratch.Get "cssFiles") false }}
{{ range $.Scratch.Get "cssFiles" }}
{{ if ne . "default" }}
- <link rel="stylesheet" href="{{ . | absURL }}">
+ <link rel="stylesheet" href="{{ . | relURL }}">
{{ end }}
{{ end }}
{{ end }}
- {{ if not (in (printf "%#v" .Site.BaseURL) "localhost") }}
- {{ template "_internal/google_analytics.html" . }}
- {{ end }}
+ {{ template "_internal/google_analytics.html" . }}
</head>
<body>