Keeps logo size across languages and resolves mobile menu overlap (#68)
## Header  ## Mobile menu | | | | --- | --- | |  |  | Reviewed-on: #68
This commit is contained in:
parent
91f48051fd
commit
75a8d446e4
1 changed files with 483 additions and 102 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{{ partial "lint-brand.html" . }}
|
||||
<!DOCTYPE html>
|
||||
<html class="nojs" lang="{{ site.Language.Locale | default site.Language.Name }}" dir="{{ site.Language.Direction | default "ltr" }}"{{ with $.Param "colorScheme" }} data-theme="{{ . }}"{{ end }}>
|
||||
<head>
|
||||
|
|
@ -26,10 +27,9 @@
|
|||
<img src="{{ with $.Param "logopath" }}{{ . | relURL }}{{ else }}{{ "images/logo.png" | relURL }}{{ end }}"{{ with $.Param "logowidth" }} width="{{ . }}"{{ end }}{{ with $.Param "logoheight" }} height="{{ . }}"{{ end }} alt="{{ i18n "logo_alt" }}" class="header__logo-image">
|
||||
</a>
|
||||
{{ end -}}
|
||||
<div class="header__intro">
|
||||
<div class="header__intro_headline"><a href="{{ site.Home.RelPermalink }}" class="header__site-link" rel="home"><span>{{ site.Title }}</span></a></div>
|
||||
<div class="header__intro_text">{{ .Param "intro" }}</div>
|
||||
</div>
|
||||
<h1 class="header__site-name">
|
||||
<a href="{{ site.Home.RelPermalink }}" rel="home" class="header__site-link">{{ site.Title }}</a>
|
||||
</h1>
|
||||
<div class="region header__region">
|
||||
{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end -}}
|
||||
{{ if $.Param "menuinheader" }}{{ partial "menu.html" . }}{{ end -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue