aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-08-27 11:33:15 +0200
committerOscar Najera <hi@oscarnajera.com>2023-08-27 11:33:15 +0200
commit57e26d78e54b3b9dca36956dde90f2f2ea48a227 (patch)
tree4ba6fd648557cd08e4a2451d73a1e48f11f03849 /layouts
parent37804d33945befa7cbc83244d9be24ebbe21026b (diff)
downloadhugo-minimalist-theme-57e26d78e54b3b9dca36956dde90f2f2ea48a227.tar.gz
hugo-minimalist-theme-57e26d78e54b3b9dca36956dde90f2f2ea48a227.tar.bz2
hugo-minimalist-theme-57e26d78e54b3b9dca36956dde90f2f2ea48a227.zip
header is width limited
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index ef345ca..5f4c582 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,5 +1,6 @@
<nav class="header w-100 w3-theme-d3 w3-theme-border z-2 cf">
- <a href="{{ site.BaseURL }}" class="pl5 db fl link">
+ <div class="mw7 center">
+ <a href="{{ site.BaseURL }}" class="db fl link">
{{ with resources.Get .Site.Params.logo }}
<img height="{{ site.Params.logo_height }}" class="v-btm" src="{{ .Permalink }}" alt="{{ site.Title }}">
@@ -24,4 +25,5 @@
</li>
{{ end }}
</ul>
+</div>
</nav>