bglug.it/layouts/_default/baseof.html
paspo bcf2f4256f
Some checks failed
Container Publish / build-image (push) Failing after 2m12s
sidebar su elenco eventi e linuxday (#103)
fixes #99
fixes #106

Reviewed-on: #103
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-07-14 22:19:25 +00:00

51 lines
2.0 KiB
HTML

<!DOCTYPE HTML>
<html lang="{{ .Language }}">
<head>
{{- partial "head/head.html" . -}}
{{- template "_internal/opengraph.html" . -}}
</head>
<body class="is-preload">
<div id="page-wrapper">
{{- partial "header.html" . }}
{{- $sidebar_count := (add (cond (isset .Params "sidebar_left") 1 0) (cond (isset .Params "sidebar_right") 1 0)) }}
<section class="wrapper style1">
<div class="container">
{{ if gt $sidebar_count 0 }}<div class="row gtr-200">{{ end }}
{{- with .Params.sidebar_left }}
<div class="col-{{ cond (eq $sidebar_count 1) 4 3 }} col-12-narrower">
<div id="sidebar">
{{- partial (printf "sidebar/%s.html" .) $ }}
</div>
</div>
{{- end }}
<div class="{{ if gt $sidebar_count 0 -}}
col-{{ cond (eq $sidebar_count 1) 8 6 }} col-12-narrower imp-narrower
{{- end }}">
<div id="content">
<article>
{{- block "main" . }}{{- end }}
</article>
</div>
</div>
{{- with .Params.sidebar_right }}
<div class="col-{{ cond (eq $sidebar_count 1) 4 3 }} col-12-narrower">
<div id="sidebar">
{{- partial (printf "sidebar/%s.html" .) $ }}
</div>
</div>
{{- end }}
{{ if gt $sidebar_count 0 }}</div>{{ end }}
</div>
</section>
{{- partial "footer/footer.html" . -}}
</div>
{{- partial "scripts.html" . -}}
</body>
</html>