aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2018-02-08 08:57:24 +0100
committerFélix Sipma <felix.sipma@no-log.org>2018-02-08 08:57:24 +0100
commit777b6b926fae6475ff76694d8ceacaa42949763f (patch)
treec10b7449a26559aea213b5c2be0a69f0cbbc071e /layouts/_default/baseof.html
parent5b6963677af7c05e0cd13eed3e8abfc9b9d644a9 (diff)
use relURL instead of .Site.BaseURL
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 9408829..3768a20 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -5,16 +5,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>{{ block "title" . }}{{ .Site.Title }} - {{ .Title }}{{ end }}</title>
{{ block "head" . }}{{ end }}
- <link href="{{ .Site.BaseURL }}css/bootstrap.min.css" rel="stylesheet" type="text/css">
- <link href="{{ .Site.BaseURL }}css/fournil.css" rel="stylesheet" type="text/css">
+ <link href="{{ "css/bootstrap.min.css" | relURL }}" rel="stylesheet" type="text/css">
+ <link href="{{ "css/fournil.css" | relURL }}" rel="stylesheet" type="text/css">
</head>
<body>
{{ block "header" . }}
{{ end }}
{{ block "menu" .}}
<nav id="fournil-nav" class="navbar navbar-expand-sm navbar-light bg-light sticky-top{{ block "fournil-nav-classes" . }}{{ end }}">
- <a class="navbar-brand" href={{ .Site.BaseURL }}>
- <img src="{{ .Site.BaseURL }}/img/logo_pain_transparent.png">
+ <a class="navbar-brand" href={{ "/" | relURL }}>
+ <img src="{{ "img/logo_pain_transparent.png" | relURL }}">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Afficher/Cacher le menu">
<span class="navbar-toggler-icon"></span>
@@ -35,10 +35,10 @@
{{ block "main" . }}
{{ end }}
</div>
- <script src="{{ .Site.BaseURL }}js/jquery.min.js"></script>
- <script src="{{ .Site.BaseURL }}js/popper.min.js"></script>
- <script src="{{ .Site.BaseURL }}js/util.js"></script>
- <script src="{{ .Site.BaseURL }}js/collapse.js"></script>
+ <script src="{{ "js/jquery.min.js" | relURL }}"></script>
+ <script src="{{ "js/popper.min.js" | relURL }}"></script>
+ <script src="{{ "js/util.js" | relURL }}"></script>
+ <script src="{{ "js/collapse.js" | relURL }}"></script>
{{ block "footer" . }}
{{ end }}
</body>