diff options
author | Keichi Takahashi <keichi.t@me.com> | 2015-02-25 10:04:29 +0300 |
---|---|---|
committer | Keichi Takahashi <keichi.t@me.com> | 2015-02-25 10:04:29 +0300 |
commit | 860dd3eb62e9e73d89c891292790840ec7276589 (patch) | |
tree | 8ac97b32d4d22b1534ebce67625d16557de0516d | |
parent | 120a14e1e131f5f22a402013e1877754c66d6096 (diff) |
Remove redundant slashes
Since hugo 0.13, .Site.BaseUrl is normalized with a trailing slash.
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e76118f..1b24796 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -6,7 +6,7 @@ {{ partial "link.html" . }} </footer> - <script src="{{ .Site.BaseUrl }}/js/highlight.pack.js"></script> + <script src="{{ .Site.BaseUrl }}js/highlight.pack.js"></script> <script> hljs.initHighlightingOnLoad(); </script> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index cbe720c..9f697a5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -23,13 +23,13 @@ {{ if ne .Url "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }} </title> - <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/bootstrap.min.css" /> - <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/main.css" /> - <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/font-awesome.min.css" /> - <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/github.css" /> + <link rel="stylesheet" href="{{ .Site.BaseUrl }}css/bootstrap.min.css" /> + <link rel="stylesheet" href="{{ .Site.BaseUrl }}css/main.css" /> + <link rel="stylesheet" href="{{ .Site.BaseUrl }}css/font-awesome.min.css" /> + <link rel="stylesheet" href="{{ .Site.BaseUrl }}css/github.css" /> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400" type="text/css"> - <link rel="shortcut icon" href="{{ .Site.BaseUrl }}/images/favicon.ico" /> - <link rel="apple-touch-icon" href="{{ .Site.BaseUrl }}/images/apple-touch-icon.png" /> + <link rel="shortcut icon" href="{{ .Site.BaseUrl }}images/favicon.ico" /> + <link rel="apple-touch-icon" href="{{ .Site.BaseUrl }}images/apple-touch-icon.png" /> <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> </head> <body> |