fix logo url

This commit is contained in:
Reorx 2022-05-05 01:25:37 +08:00
parent 7f71a99e21
commit 2e900af85d
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}