diff options
author | Vincent Tam <sere@live.hk> | 2019-08-17 16:54:46 +0300 |
---|---|---|
committer | Vincent Tam <sere@live.hk> | 2019-08-17 16:54:46 +0300 |
commit | c6cfb0ab831c1ab6216ad3d7141f4cb7e31b8e64 (patch) | |
tree | adefd35468c2b7ecf24ac19b1f3786dc133752e2 | |
parent | e0a9c0603cdd1e8b11eb6fb66463445e3f3068ea (diff) |
-rw-r--r-- | layouts/_default/baseof.html | 6 |
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> |