mirror of https://github.com/docker/docs.git
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>
This commit is contained in:
parent
b53f5cab39
commit
e3a66f58ae
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: Learning paths
|
||||
cascade:
|
||||
layout: wide
|
||||
description: |
|
||||
Docker Learning Paths offer structured guides to help you master Docker.
|
||||
keywords: docker, learning, paths, tutorials, resources
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: Tags
|
||||
cascade:
|
||||
layout: wide
|
||||
---
|
||||
|
||||
Here you can browse Docker docs by tag.
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
<!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>
|
Loading…
Reference in New Issue