Browse Source

add div to header layout

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

2
layouts/partials/header.html

@ -1,6 +1,8 @@
<div>
{{ with resources.Get site.Params.logo.src }} {{ with resources.Get site.Params.logo.src }}
<img src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}" alt="{{ site.Params.logo.alt }}"> <img src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}" alt="{{ site.Params.logo.alt }}">
{{ else }} {{ else }}
<h1>{{ site.Title }}</h1> <h1>{{ site.Title }}</h1>
{{ end }} {{ end }}
{{ partial "menu.html" (dict "menuID" "main" "page" .) }} {{ partial "menu.html" (dict "menuID" "main" "page" .) }}
</div>

Loading…
Cancel
Save