Browse Source

site logo is a link

Alexander Avery 3 weeks ago
parent
commit
fbd8eb6b34
  1. 2
      layouts/partials/header.html

2
layouts/partials/header.html

@ -1,6 +1,6 @@
<div>
{{ with resources.Get site.Params.logo.src }}
<img src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}" alt="{{ site.Params.logo.alt }}">
<a href="/"><img src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}" alt="{{ site.Params.logo.alt }}"></a>
{{ else }}
<h1>{{ site.Title }}</h1>
{{ end }}

Loading…
Cancel
Save