diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e9debdf..37f5259 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,11 @@ <div class="container mt-5"> <nav class="navbar navbar-expand-sm flex-column flex-sm-row text-nowrap p-0"> - <a class="navbar-brand mx-0 mr-sm-auto" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> + <a class="navbar-brand mx-0 mr-sm-auto" href="{{ .Site.BaseURL }}"> + {{ with .Site.Params.logo }} + <img src="{{ . | absURL }}" alt="logo"> + {{ end }} + {{ .Site.Title }} + </a> <div class="navbar-nav flex-row flex-wrap justify-content-center"> {{ with .Site.Menus.main }} {{ $navbar_len := len . }} |