diff options
| author | Reorx <novoreorx@gmail.com> | 2022-05-05 01:25:37 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-05-05 01:25:37 +0800 |
| commit | 2e900af85d97b76d84e1ced9448633597c574ecb (patch) | |
| tree | 71785e8d0773cada0b495c3bc977055a9c55b3bb | |
| parent | 7f71a99e21049d1c46cb00f84d5a18426ce1855c (diff) | |
fix logo url
| -rw-r--r-- | layouts/partials/header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 6db7c94..004f7c6 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -44,7 +44,7 @@ <div class="logo"> {{- $label_text := (site.Params.label.text | default site.Title) }} {{- if site.Title }} - <a href="/" accesskey="h" title="{{ $label_text }} (Alt + H)"> + <a href="{{ "" | absURL }}" accesskey="h" title="{{ $label_text }} (Alt + H)"> {{- if site.Params.label.icon }} {{- $img := resources.Get site.Params.label.icon }} {{- if $img }} |
