~alanorth/hugo-theme-bootstrap4-blog

92cab738dd6ee75facb4531bf1351fa7379c7ea2 — Paweł Hofman 2 years ago 1aedf82
Fixed invalid URL if blog is not in domain root
1 files changed, 1 insertions(+), 1 deletions(-)

M layouts/_default/baseof.html
M layouts/_default/baseof.html => layouts/_default/baseof.html +1 -1
@@ 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>