Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/damiencaselli/hugo-journal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Caselli <damien.caselli@gmail.com>2017-07-23 19:33:26 +0300
committerDamien Caselli <damien.caselli@gmail.com>2017-07-23 19:33:40 +0300
commit81dc2b2a7d031b33fe294412213dd633bf6da758 (patch)
treed523d2a848b090a9c1b69ba756a487ad287233b8
parent05b2f1c771dcd09d39b7b511f714716ef3cdeb55 (diff)
Use relative URLs for resources
-rw-r--r--layouts/partials/top.html6
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>