summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorMichał Sapka <michal@sapka.me>2023-01-10 16:55:41 +0100
committerMichał Sapka <michal@sapka.me>2023-01-10 16:55:41 +0100
commit6fbcd9787ffc367a18cee3acbce01192772813c8 (patch)
treeb4f10618e4aa62b762a10b9b8b9f46baddf046d0 /layouts/_default/baseof.html
parent6b40173ec7284c5f6068c3b809d84cd3d437e939 (diff)
feat: more of layout
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index f37673b..ad626b9 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -32,8 +32,6 @@
</head>
<body>
{{ block "header" . }}
- {{ $image := resources.Get "logo.png" }}
- {{ $image := $image.Resize "x40" }}
<nav id="topnav">
<div>
<a href="/">Home</a>
@@ -45,7 +43,10 @@
<header>
<div id="logo-space">
<a href="/">
+ {{ $image := resources.Get "logo.png" }}
+ {{ $image := $image.Resize "x40" }}
<div id="logo">
+ <img alt="logo" src="{{ $image.Permalink }}" width={{$image.Width}} height={{$image.Height}}/>
</div>
<h1>{{ .Site.Title }}</h1>
</a>