diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2017-04-26 16:11:29 +0300 |
---|---|---|
committer | Matt Stratton <matt.stratton@gmail.com> | 2017-04-26 16:11:29 +0300 |
commit | f3906f0859d86ab647302f45b1b45de54c920bf0 (patch) | |
tree | b98b4275e26779e9383d10ae7f6e6ed53df9c955 /layouts/partials | |
parent | 8b26f5ab71e282adf8dcaf71bc597fb45d622117 (diff) |
Remove baseurl reference from path to scripts
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer_scripts.html | 2 | ||||
-rw-r--r-- | layouts/partials/head_includes.html | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html index 43c418c..0a17f2e 100644 --- a/layouts/partials/footer_scripts.html +++ b/layouts/partials/footer_scripts.html @@ -1,4 +1,4 @@ -<script src="{{ .Site.BaseURL }}js/castanet-min.js"></script> +<script src="/js/castanet-min.js"></script> <script> $("#share").jsSocials({ shares: ["facebook", "linkedin", "pinterest", diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html index 4ed73dc..044228e 100644 --- a/layouts/partials/head_includes.html +++ b/layouts/partials/head_includes.html @@ -1,10 +1,10 @@ {{ if isset $.Site.Params "site_theme"}} -<link href="{{ .Site.BaseURL }}css/{{ $.Site.Params.site_theme}}.css" rel="stylesheet"> +<link href="/css/{{ $.Site.Params.site_theme}}.css" rel="stylesheet"> {{ else }} -<link href="{{ .Site.BaseURL }}css/orange.css" rel="stylesheet"> +<link href="/css/orange.css" rel="stylesheet"> {{ end }} <link href="https://fonts.googleapis.com/css?family=Lato|Raleway" rel="stylesheet"> <!-- Custom CSS --> {{ range .Site.Params.custom_css }} - <link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}"> + <link rel="stylesheet" href="/{{ . }}"> {{ end }} |