Fixed invalid URL if blog is not in domain root

This commit is contained in:
Paweł Hofman 2019-10-09 21:23:02 +02:00 committed by Alan Orth
parent 1aedf82cf8
commit 92cab738dd
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@
{{ if (ne .Site.Params.header_visible false) }}
<header class="blog-header">
<div class="container">
<h1 class="blog-title" dir="auto"><a href="{{ "/" | absURL }}" rel="home">{{ .Site.Title | safeHTML }}</a></h1>
<h1 class="blog-title" dir="auto"><a href="{{ .Site.BaseURL | absURL }}" rel="home">{{ .Site.Title | safeHTML }}</a></h1>
{{ if .Site.Params.description }}<p class="lead blog-description" dir="auto">{{ .Site.Params.description | markdownify }}</p>{{ end }}
</div>
</header>