diff options
author | Michał Sapka <michal@sapka.me> | 2023-01-08 22:54:12 +0100 |
---|---|---|
committer | Michał Sapka <michal@sapka.me> | 2023-01-08 22:54:12 +0100 |
commit | 6b40173ec7284c5f6068c3b809d84cd3d437e939 (patch) | |
tree | 9ff5858dd2c29140cf102cd4264f2ec227de682e /layouts/_default | |
parent | a3d0624ff61f76765a4ba12ae584187d63046786 (diff) |
feat: header
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 13 |
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> |