Add site logo to header
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,11 @@
|
||||
|
||||
<header class="site">
|
||||
<div class="inner">
|
||||
<a class="brand" href="/">{{ .Site.Title }}</a>
|
||||
{{ $logo := resources.Get "images/logo-white.png" }}
|
||||
{{ $logoSm := $logo.Resize "480x" }}
|
||||
<a class="brand" href="/">
|
||||
<img src="{{ $logoSm.RelPermalink }}" width="{{ $logoSm.Width }}" height="{{ $logoSm.Height }}" alt="{{ .Site.Title }}">
|
||||
</a>
|
||||
<nav aria-label="Primary">
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
|
||||
Reference in New Issue
Block a user