Added nojs class to body and moved navbar above main content in page structure.
This commit is contained in:
parent
fd952369b5
commit
faf52f5602
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ .Site.Language.Lang }}" dir="{{ $.Param "languagedir" | default "ltr" }}">
|
<html class="nojs" lang="{{ .Site.Language.Lang }}" dir="{{ $.Param "languagedir" | default "ltr" }}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}</title>
|
<title>{{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}</title>
|
||||||
|
|
@ -19,10 +19,10 @@
|
||||||
<div class="region header__region">{{ if $.Param "search" }}{{ partialCached "search.html" . }}{{ end }}</div>
|
<div class="region header__region">{{ if $.Param "search" }}{{ partialCached "search.html" . }}{{ end }}</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{ block "main" . }}{{ end -}}
|
|
||||||
|
|
||||||
{{ partial "menu.html" . -}}
|
{{ partial "menu.html" . -}}
|
||||||
|
|
||||||
|
{{ block "main" . }}{{ end -}}
|
||||||
|
|
||||||
{{ if $.Param "sidebar" | default true }}{{ partial "sidebar.html" . -}}{{ end }}
|
{{ if $.Param "sidebar" | default true }}{{ partial "sidebar.html" . -}}{{ end }}
|
||||||
|
|
||||||
<footer class="footer layout__footer layout__full" role="contentinfo">
|
<footer class="footer layout__footer layout__full" role="contentinfo">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue