summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
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>