Link for Umami
This commit is contained in:
parent
fce6dc7a1f
commit
58a6cdbab9
1 changed files with 29 additions and 0 deletions
29
layouts/_default/baseof.html
Normal file
29
layouts/_default/baseof.html
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ .Site.LanguageCode }}" dir="{{ default `ltr` .Language.LanguageDirection }}">
|
||||||
|
<head>
|
||||||
|
{{- partial "head/head.html" . -}}
|
||||||
|
{{- block "head" . -}}{{ end }}
|
||||||
|
<script defer src="https://octubre.be/stats/script.js" data-website-id="1d3485df-5676-429a-848f-848ca77db443"></script>
|
||||||
|
</head>
|
||||||
|
<body class="{{ block `body-class` . }}{{ end }}">
|
||||||
|
{{- partial "head/colorScheme" . -}}
|
||||||
|
|
||||||
|
{{/* The container is wider when there's any activated widget */}}
|
||||||
|
{{- $hasWidget := false -}}
|
||||||
|
{{- range .Site.Params.widgets -}}
|
||||||
|
{{- if gt (len .) 0 -}}
|
||||||
|
{{- $hasWidget = true -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
<div class="container main-container flex on-phone--column {{ if $hasWidget }}extended{{ else }}compact{{ end }}">
|
||||||
|
{{- block "left-sidebar" . -}}
|
||||||
|
{{ partial "sidebar/left.html" . }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- block "right-sidebar" . -}}{{ end }}
|
||||||
|
<main class="main full-width">
|
||||||
|
{{- block "main" . }}{{- end }}
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
{{ partial "footer/include.html" . }}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue