mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 13:10:18 +01:00
Fixed invalid URL if blog is not in domain root
This commit is contained in:
parent
1aedf82cf8
commit
92cab738dd
@ -55,7 +55,7 @@
|
|||||||
{{ if (ne .Site.Params.header_visible false) }}
|
{{ if (ne .Site.Params.header_visible false) }}
|
||||||
<header class="blog-header">
|
<header class="blog-header">
|
||||||
<div class="container">
|
<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 }}
|
{{ if .Site.Params.description }}<p class="lead blog-description" dir="auto">{{ .Site.Params.description | markdownify }}</p>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user