Files
docker-docs/layouts/_default/wide-baseof.html
David Karlsson e3a66f58ae hugo: create a common wide layout
The wide base templates used by tags and learning paths were identical.
Creating a single-column `wide` layout instead to enable code reuse.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-11 11:45:46 +02:00

24 lines
634 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
{{ partial "head.html" . }}
</head>
<body class="flex flex-col min-h-screen bg-background-light text-base dark:bg-background-dark dark:text-white">
{{ partial "header.html" . }}
<main class="flex justify-center">
<div class="lg:w-[1200px] overflow-clip p-6 pt-0 w-lvw">
{{ block "main" . }}
{{ end }}
</div>
</main>
<footer class="mt-auto">{{ partialCached "footer.html" . }}</footer>
{{/* Load the YouTube player if the page embeds a YouTube video */}}
{{ with .Store.Get "youtube" }}
{{- partial "youtube-script.html" . }}
{{ end }}
</body>
</html>