diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2017-05-01 20:42:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 20:42:32 +0300 |
commit | ef2444fd82aa5ee04cbe91874607f6bf2bb445d8 (patch) | |
tree | e7b8a77d459074a9a71d263cc861b05976985353 /layouts/partials | |
parent | 114e230cdfa890d324f7af7d9a6bf28711e30362 (diff) | |
parent | 202e70e8ef45e8ea32097317b19c0bd930e5781d (diff) |
Merge pull request #65 from mattstratton/fix-theme
Change to remove slashes
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer_scripts.html | 8 | ||||
-rw-r--r-- | layouts/partials/head_includes.html | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html index a31ca1a..aa4546f 100644 --- a/layouts/partials/footer_scripts.html +++ b/layouts/partials/footer_scripts.html @@ -1,4 +1,4 @@ -<script src={{ "/js/castanet-min.js" | absURL }}></script> +<script src={{ "js/castanet-min.js" | absURL }}></script> <script> $("#share").jsSocials({ shares: ["facebook", "linkedin", "pinterest", @@ -16,9 +16,9 @@ <script> audiojs.events.ready(function() { var as = audiojs.createAll({ - imageLocation: '{{"/img/player-graphics.gif" | relURL}}', - retinaImageLocation: '{{"/img/player-graphics@2x.gif" | relURL}}', - swfLocation: '{{"/swf/audiojs.swf" | relURL}}' + imageLocation: '{{"img/player-graphics.gif" | relURL}}', + retinaImageLocation: '{{"img/player-graphics@2x.gif" | relURL}}', + swfLocation: '{{"swf/audiojs.swf" | relURL}}' }); }); </script> diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html index bcd6faa..14d8674 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="{{ printf "/css/%s.css" $.Site.Params.site_theme | absURL}}" rel="stylesheet"> +<link href="{{ printf "css/%s.css" $.Site.Params.site_theme | absURL}}" rel="stylesheet"> {{ else }} -<link href={{"/css/orange.css" | absURL }} rel="stylesheet"> +<link href={{"css/orange.css" | absURL }} 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="/{{ . | absURL }}"> + <link rel="stylesheet" href="{{ . | absURL }}"> {{ end }} |