summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorMichał Sapka <michal@sapka.me>2023-01-08 22:54:12 +0100
committerMichał Sapka <michal@sapka.me>2023-01-08 22:54:12 +0100
commit6b40173ec7284c5f6068c3b809d84cd3d437e939 (patch)
tree9ff5858dd2c29140cf102cd4264f2ec227de682e /layouts/_default
parenta3d0624ff61f76765a4ba12ae584187d63046786 (diff)
feat: header
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 99c7689..f37673b 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -32,19 +32,20 @@
</head>
<body>
{{ block "header" . }}
- <header>
- {{ $image := resources.Get "logo.png" }}
- {{ $image := $image.Resize "x45" }}
- <nav>
+ {{ $image := resources.Get "logo.png" }}
+ {{ $image := $image.Resize "x40" }}
+ <nav id="topnav">
+ <div>
<a href="/">Home</a>
<a href="/about">About</a>
<a href="https://memes.sapka.me">Memes</a>
<a href="https://git.sapka.me">Git</a>
- </nav>
+ </div>
+ </nav>
+ <header>
<div id="logo-space">
<a href="/">
<div id="logo">
- <img alt="logo" id="logo" src="{{ $image.Permalink }}" width={{$image.Width}} height={{$image.Height}}/>
</div>
<h1>{{ .Site.Title }}</h1>
</a>