diff options
author | Damien Caselli <damien.caselli@gmail.com> | 2017-07-23 19:33:26 +0300 |
---|---|---|
committer | Damien Caselli <damien.caselli@gmail.com> | 2017-07-23 19:33:40 +0300 |
commit | 81dc2b2a7d031b33fe294412213dd633bf6da758 (patch) | |
tree | d523d2a848b090a9c1b69ba756a487ad287233b8 | |
parent | 05b2f1c771dcd09d39b7b511f714716ef3cdeb55 (diff) |
Use relative URLs for resources
-rw-r--r-- | layouts/partials/top.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/top.html b/layouts/partials/top.html index 8d073d1..576f3eb 100644 --- a/layouts/partials/top.html +++ b/layouts/partials/top.html @@ -23,9 +23,9 @@ {{- end }} <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro|Arvo:400,700"> - <link rel="stylesheet" href="{{ .Site.BaseURL }}css/highlight.css"> - <link rel="stylesheet" href="{{ .Site.BaseURL }}css/journal.css"> - <link href="{{ .Site.BaseURL }}index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}"> + <link rel="stylesheet" href="{{ "css/highlight.css" | relURL }}"> + <link rel="stylesheet" href="{{ "css/journal.css" | relURL }}"> + <link href="{{ "index.xml" | relURL }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}"> </head> |