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

gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Tam <sere@live.hk>2019-08-17 16:54:46 +0300
committerVincent Tam <sere@live.hk>2019-08-17 16:54:46 +0300
commitc6cfb0ab831c1ab6216ad3d7141f4cb7e31b8e64 (patch)
treeadefd35468c2b7ecf24ac19b1f3786dc133752e2
parente0a9c0603cdd1e8b11eb6fb66463445e3f3068ea (diff)
Replaced ".Site.BaseURL" with "absURL"HEADmaster
-rw-r--r--layouts/_default/baseof.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 65cd5cd..f334345 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -8,7 +8,7 @@
{{- .Site.Title -}}
{{- end -}}
</title>
- <link href="{{ .Site.BaseURL }}index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+ <link href='{{ "index.xml" | absURL }}' rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ $basecss := resources.Get "css/style.css" }}
{{ $style := $basecss | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" />
@@ -18,11 +18,11 @@
</head>
<body>
<aside>
- <a href="{{ .Site.BaseURL }}">
+ <a href="{{ .Permalink }}">
<img id="avatar" alt="Blog Avatar" src="{{ .Site.Params.avatar | relURL }}">
</a>
<div id="sitetitle">
- <a href="{{ .Site.BaseURL }}">
+ <a href="{{ .Permalink }}">
{{- .Site.Title -}}
</a>
</div>