aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2019-06-15 02:57:25 +0200
committerÓscar Nájera <hello@oscarnajera.com>2019-06-15 02:57:25 +0200
commite34ded01904b07456a48cf28f1a5a2d2d77a0be7 (patch)
tree91178a5580504a58bd5612c1448a3fac403f07e3 /layouts/partials/header.html
parentd1916e3b595abbb08d90a32f5c34f9cf64d38c9f (diff)
downloadhugo-minimalist-theme-e34ded01904b07456a48cf28f1a5a2d2d77a0be7.tar.gz
hugo-minimalist-theme-e34ded01904b07456a48cf28f1a5a2d2d77a0be7.tar.bz2
hugo-minimalist-theme-e34ded01904b07456a48cf28f1a5a2d2d77a0be7.zip
Simplifying parts of the themeHEADmaster
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html27
1 files changed, 3 insertions, 24 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 41bfd71..9b2aaab 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,11 +4,7 @@
{{ .Scratch.Set "authorPicture" (absURL .Site.Author.picture) }}
{{ end }}
-<nav id="sidebar" class="w5-ns w-100 bg-gray vh-100 fixed z-2 overflow-auto dn" style="background-image:url('{{ .Site.Params.coverImage | absURL }}');">
- <a class="bg-black white link dim db pa3 tc pointer" onclick="w3_close()">
- Close &times;
- </a>
-
+<nav id="sidebar" class="fl w-25-ns bg-gray vh-100-ns">
<div class="tc pv4">
<a href="/#about" class="white link">
{{ with ($.Scratch.Get "authorPicture") }}
@@ -19,9 +15,9 @@
</h3>
</a>
</div>
- <ul class="list">
+ <ul class="list bd ba">
{{ range .Site.Menus.main }}
- <li class="pv2">
+ <li class="ma2 dib">
<a class="link white db grow" href="{{ .URL | relLangURL }}" title="{{ .Title }}">
{{ .Pre }} {{ .Name }}</a>
</li>
@@ -46,20 +42,3 @@
</ul>
</nav>
-
-<nav class="fixed z-1 dt w-100 border-box pa2 bb b--black-30 bg-near-white">
-
- <a class="dtc dib v-mid dim " onclick="w3_open()">
- <i class="fa fa-lg fa-bars black"></i>
- </a>
-
- <a href="{{ "/" | relLangURL }}" class="dtc v-mid link dim tc">
- <div class="f4 dib black-80 b">{{ .Site.Title }}</div>
- </a>
-
- {{ with ($.Scratch.Get "authorPicture") }}
- <a href="/#about" class="dtc dim tr">
- <img class="dib v-mid dib w2 h2 br-100" src="{{ . }}{{ if in . "//www.gravatar.com/avatar/" }}?s=90{{ end }}"/>
- </a>
- {{ end }}
-</nav>