From 9b4b43fbf2a0b2a62a19c7e358388f688883541f Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Mon, 24 Mar 2025 09:16:56 -0400 Subject: [PATCH 01/14] add llms.txt to repo --- hugo.yaml | 11 ++++- hugo_stats.json | 25 +++++++++++ layouts/_default/single.llmstxt.txt | 3 ++ layouts/partials/content-default.html | 1 + layouts/partials/llms-dropdown.html | 61 +++++++++++++++++++++++++++ 5 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 layouts/_default/single.llmstxt.txt create mode 100644 layouts/partials/llms-dropdown.html diff --git a/hugo.yaml b/hugo.yaml index 197579bf6b27..7d54eed558b4 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -74,8 +74,14 @@ outputFormats: isPlainText: true mediaType: "text/plain" notAlternative: true + # llms.txt, see layouts/single.llmstxt.txt + llmstxt: + baseName: llms + mediaType: "text/plain" + isPlainText: true + notAlternative: true -# Enable custom output formats for the home page only +# Enable custom output formats # (only generate the custom output files once) outputs: home: @@ -83,6 +89,9 @@ outputs: - redirects - metadata - robots + page: + - html + - llmstxt languages: en: diff --git a/hugo_stats.json b/hugo_stats.json index 4d34be18e7ed..63198ec17a75 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -188,6 +188,7 @@ "dark:bg-background-dark", "dark:bg-blue-dark", "dark:bg-blue-dark-400", + "dark:bg-gray-800", "dark:bg-gray-dark-100", "dark:bg-gray-dark-200", "dark:bg-gray-dark-300", @@ -216,6 +217,7 @@ "dark:from-blue-dark-400", "dark:from-gray-dark-100", "dark:hidden", + "dark:hover:bg-blue-500", "dark:hover:bg-blue-dark", "dark:hover:bg-blue-dark-500", "dark:hover:bg-gray-dark-200", @@ -228,6 +230,7 @@ "dark:text-amber-dark", "dark:text-blue-dark", "dark:text-divider-dark", + "dark:text-gray-400", "dark:text-gray-dark", "dark:text-gray-dark-300", "dark:text-gray-dark-500", @@ -284,9 +287,11 @@ "grid-cols-1", "group", "group-hover:block'", + "group-open:rotate-180", "h-16", "h-2", "h-32", + "h-4", "h-48", "h-6", "h-8", @@ -298,6 +303,7 @@ "hidden", "hidden'", "highlight", + "hover:bg-blue-600", "hover:bg-blue-light-400", "hover:bg-gray-light-100", "hover:bg-gray-light-200", @@ -311,6 +317,7 @@ "hover:dark:text-blue-dark", "hover:drop-shadow-lg", "hover:opacity-90", + "hover:text-blue-600", "hover:text-blue-light", "hover:text-white", "hover:underline", @@ -318,6 +325,7 @@ "icon-sm", "icon-svg", "inline", + "inline-block", "inline-flex", "inset-0", "invertible", @@ -387,6 +395,7 @@ "mt-1", "mt-2", "mt-20", + "mt-3", "mt-4", "mt-8", "mx-auto", @@ -410,6 +419,7 @@ "overflow-y-auto", "p-1", "p-2", + "p-3", "p-4", "p-6", "p-8", @@ -435,6 +445,7 @@ "pt-4", "px-1", "px-2", + "px-3", "px-4", "px-6", "py-1", @@ -446,15 +457,20 @@ "right-0", "right-3", "right-8", + "ring-1", "ring-2", "ring-[1.5px]", + "ring-black", "ring-blue-light-400", "ring-gray-light-200", + "ring-opacity-5", "rotate-45", "rounded", "rounded-[6px]", "rounded-b-lg", "rounded-full", + "rounded-lg", + "rounded-md", "rounded-sm", "scale-50", "scale-75", @@ -465,6 +481,7 @@ "self-start", "shadow", "shadow-lg", + "shadow-sm", "sm:block", "sm:flex", "sm:flex-row", @@ -473,6 +490,7 @@ "sm:w-full", "space-x-2", "space-y-2", + "space-y-3", "space-y-4", "sticky", "svg-container", @@ -482,8 +500,10 @@ "text-amber-light", "text-base", "text-black", + "text-blue-500", "text-blue-light", "text-divider-light", + "text-gray-500", "text-gray-light", "text-gray-light-200", "text-gray-light-300", @@ -513,11 +533,16 @@ "top-3", "top-6", "top-full", + "transform", "transition", + "transition-transform", "truncate", "underline-offset-2", "uppercase", "w-2", + "w-4", + "w-64", + "w-72", "w-8", "w-[1200px]", "w-[32px]", diff --git a/layouts/_default/single.llmstxt.txt b/layouts/_default/single.llmstxt.txt new file mode 100644 index 000000000000..692909b11add --- /dev/null +++ b/layouts/_default/single.llmstxt.txt @@ -0,0 +1,3 @@ +{{ .Title }} + +{{ .RawContent | replaceRE `{{[%<][^>]*[%>]}}` "" }} \ No newline at end of file diff --git a/layouts/partials/content-default.html b/layouts/partials/content-default.html index 4a142a9137ae..77aa904908df 100644 --- a/layouts/partials/content-default.html +++ b/layouts/partials/content-default.html @@ -8,6 +8,7 @@

{{ .Title }}


{{ .Content }} + {{ partial "llms-dropdown.html" . }} {{- end }} {{- end }} - +{{ partial "llms-dropdown.html" }} + \ No newline at end of file diff --git a/layouts/partials/content-default.html b/layouts/partials/content-default.html index 77aa904908df..4a142a9137ae 100644 --- a/layouts/partials/content-default.html +++ b/layouts/partials/content-default.html @@ -8,7 +8,6 @@

{{ .Title }}


{{ .Content }} - {{ partial "llms-dropdown.html" . }}
- -
Ask questions about this page with Docker Docs AI
+ +
Ask questions with Docs AI
+
+
+ +
Ask questions about this page with ChatGPT
+ @@ -55,7 +60,14 @@ if (kapaButton) { kapaButton.click(); } else { - alert("Couldn't find the DocsAI button."); + alert("Couldn't find the Docs AI button."); } } + + function openInChatGPT() { + const markdownURL = getCurrentPlaintextUrl(); + const prompt = `Read ${markdownURL} so I can ask questions about it`; + const chatGPTUrl = `https://chat.openai.com/?model=gpt-4&prompt=${encodeURIComponent(prompt)}`; + window.open(chatGPTUrl, '_blank'); + } \ No newline at end of file diff --git a/layouts/partials/sidebar/sections.html b/layouts/partials/sidebar/sections.html index 168c534f89de..25c84cbf3b75 100644 --- a/layouts/partials/sidebar/sections.html +++ b/layouts/partials/sidebar/sections.html @@ -104,4 +104,4 @@ {{- with .Params.sidebar.badge }} {{- partial "components/badge.html" (dict "color" .color "content" .text) }} {{- end }} -{{ end }} +{{ end }} \ No newline at end of file From 95875c15cc81ea21fc364bb884cd287e8637f92d Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Wed, 26 Mar 2025 13:31:41 -0400 Subject: [PATCH 03/14] Fix styling and markdown output --- hugo.yaml | 13 ++-- hugo_stats.json | 17 +++-- layouts/_default/single.llmstxt.txt | 3 - layouts/_default/single.markdown.md | 7 ++ layouts/partials/aside.html | 1 - layouts/partials/content-default.html | 7 +- layouts/partials/llms-dropdown.html | 73 ------------------ layouts/partials/md-dropdown.html | 103 ++++++++++++++++++++++++++ 8 files changed, 134 insertions(+), 90 deletions(-) delete mode 100644 layouts/_default/single.llmstxt.txt create mode 100644 layouts/_default/single.markdown.md delete mode 100644 layouts/partials/llms-dropdown.html create mode 100644 layouts/partials/md-dropdown.html diff --git a/hugo.yaml b/hugo.yaml index 7d54eed558b4..22cf7f9a5ee8 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -74,12 +74,13 @@ outputFormats: isPlainText: true mediaType: "text/plain" notAlternative: true - # llms.txt, see layouts/single.llmstxt.txt - llmstxt: - baseName: llms - mediaType: "text/plain" + # Markdown for LLMs, see layouts/_default/single.markdown.md + Markdown: + baseName: index + mediaType: "text/markdown" isPlainText: true - notAlternative: true + isHTML: false + permalinkable: true # Enable custom output formats # (only generate the custom output files once) @@ -91,7 +92,7 @@ outputs: - robots page: - html - - llmstxt + - Markdown languages: en: diff --git a/hugo_stats.json b/hugo_stats.json index 623a545af63c..a06d01a31c59 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -128,6 +128,7 @@ "With-systemd-Highly-recommended", "Without-packages", "Without-systemd", + "[display:none]", "absolute", "aspect-video", "bake-action", @@ -219,6 +220,7 @@ "dark:hover:bg-blue-dark", "dark:hover:bg-blue-dark-500", "dark:hover:bg-gray-dark-200", + "dark:hover:bg-gray-dark-400", "dark:hover:bg-gray-dark-500", "dark:hover:text-blue-dark", "dark:prose-invert", @@ -228,7 +230,6 @@ "dark:text-amber-dark", "dark:text-blue-dark", "dark:text-divider-dark", - "dark:text-gray-400", "dark:text-gray-dark", "dark:text-gray-dark-300", "dark:text-gray-dark-500", @@ -285,6 +286,7 @@ "grid-cols-1", "group", "group-hover:block'", + "group-open:[display:block]", "group-open:rotate-180", "h-16", "h-2", @@ -313,7 +315,6 @@ "hover:dark:text-blue-dark", "hover:drop-shadow-lg", "hover:opacity-90", - "hover:text-blue-600", "hover:text-blue-light", "hover:text-white", "hover:underline", @@ -333,7 +334,9 @@ "justify-center", "justify-end", "justify-evenly", + "leading-none", "leading-snug", + "leading-tight", "left-0", "lg:block", "lg:flex", @@ -388,12 +391,13 @@ "ml-2", "ml-3", "ml-4", + "ml-auto", "mt-1", "mt-2", "mt-20", - "mt-3", "mt-4", "mt-8", + "mt-[2px]", "mx-auto", "my-0", "my-1", @@ -406,6 +410,7 @@ "open-kapa-widget", "openSUSE-and-SLES", "origin-bottom-right", + "origin-top-right", "ot-sdk-show-settings", "outline-none", "overflow-clip", @@ -460,7 +465,6 @@ "rounded-[6px]", "rounded-b-lg", "rounded-full", - "rounded-lg", "rounded-sm", "scale-50", "scale-75", @@ -471,6 +475,7 @@ "self-start", "shadow", "shadow-lg", + "shadow-md", "sm:block", "sm:flex", "sm:flex-row", @@ -488,10 +493,8 @@ "text-amber-light", "text-base", "text-black", - "text-blue-500", "text-blue-light", "text-divider-light", - "text-gray-500", "text-gray-light", "text-gray-light-200", "text-gray-light-300", @@ -523,11 +526,13 @@ "top-full", "transform", "transition", + "transition-colors", "transition-transform", "truncate", "underline-offset-2", "uppercase", "w-2", + "w-56", "w-8", "w-[1200px]", "w-[32px]", diff --git a/layouts/_default/single.llmstxt.txt b/layouts/_default/single.llmstxt.txt deleted file mode 100644 index 692909b11add..000000000000 --- a/layouts/_default/single.llmstxt.txt +++ /dev/null @@ -1,3 +0,0 @@ -{{ .Title }} - -{{ .RawContent | replaceRE `{{[%<][^>]*[%>]}}` "" }} \ No newline at end of file diff --git a/layouts/_default/single.markdown.md b/layouts/_default/single.markdown.md new file mode 100644 index 000000000000..689dd4e599c4 --- /dev/null +++ b/layouts/_default/single.markdown.md @@ -0,0 +1,7 @@ +{{- $slug := .File.TranslationBaseName -}} +{{- $outputPath := printf "%s.md" $slug -}} +{{- .Page.Store.Set "RelativePermalink" (print "/" $outputPath) -}} + +{{ .RawContent }} + +{{ .RenderShortcodes }} \ No newline at end of file diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 01cb9f288493..d72fa42a853a 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -12,5 +12,4 @@ {{- end }} {{- end }} -{{ partial "llms-dropdown.html" }} \ No newline at end of file diff --git a/layouts/partials/content-default.html b/layouts/partials/content-default.html index 4a142a9137ae..d38a4aff0535 100644 --- a/layouts/partials/content-default.html +++ b/layouts/partials/content-default.html @@ -1,7 +1,12 @@
{{ partial "breadcrumbs.html" . }} -

{{ .Title }}

+

+ {{ .Title }} + + {{ partial "md-dropdown.html" . }} + +

{{ partialCached "pagemeta.html" . . }} diff --git a/layouts/partials/llms-dropdown.html b/layouts/partials/llms-dropdown.html deleted file mode 100644 index a9a2c71cfa17..000000000000 --- a/layouts/partials/llms-dropdown.html +++ /dev/null @@ -1,73 +0,0 @@ -
-
- - Copy llms.txt file - - - - -
-
- -
Copy this page as Markdown for LLMs
-
-
- -
View this page as plain text
-
-
- -
Ask questions with Docs AI
-
-
- -
Ask questions about this page with ChatGPT
-
-
-
- -
- - \ No newline at end of file diff --git a/layouts/partials/md-dropdown.html b/layouts/partials/md-dropdown.html new file mode 100644 index 000000000000..eecb78f0b7fb --- /dev/null +++ b/layouts/partials/md-dropdown.html @@ -0,0 +1,103 @@ +
+ + Copy page + + + + + + +
+ + + + + +
+
+ + From 88879b93c3a6f1d62dd5cc057a5cc6fe6e506705 Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Wed, 26 Mar 2025 13:52:06 -0400 Subject: [PATCH 04/14] Fix plaintext option --- layouts/_default/single.markdown.md | 8 ++------ layouts/partials/md-dropdown.html | 6 +++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/layouts/_default/single.markdown.md b/layouts/_default/single.markdown.md index 689dd4e599c4..91b4052d4e68 100644 --- a/layouts/_default/single.markdown.md +++ b/layouts/_default/single.markdown.md @@ -1,7 +1,3 @@ -{{- $slug := .File.TranslationBaseName -}} -{{- $outputPath := printf "%s.md" $slug -}} -{{- .Page.Store.Set "RelativePermalink" (print "/" $outputPath) -}} +{{ .Title }} -{{ .RawContent }} - -{{ .RenderShortcodes }} \ No newline at end of file +{{ .RawContent }} \ No newline at end of file diff --git a/layouts/partials/md-dropdown.html b/layouts/partials/md-dropdown.html index eecb78f0b7fb..52034ddd9096 100644 --- a/layouts/partials/md-dropdown.html +++ b/layouts/partials/md-dropdown.html @@ -72,9 +72,9 @@ + +
+ \ No newline at end of file From 5907e6a89e3920da811875fe99914bf17e4b85da Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Wed, 26 Mar 2025 14:24:58 -0400 Subject: [PATCH 07/14] fix missing script --- layouts/partials/md-dropdown.html | 34 ++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/layouts/partials/md-dropdown.html b/layouts/partials/md-dropdown.html index 904220b44aca..9854174826e5 100644 --- a/layouts/partials/md-dropdown.html +++ b/layouts/partials/md-dropdown.html @@ -68,4 +68,36 @@ - \ No newline at end of file + + + From 70385c1265fe42d1c71aeb0fd353ff2312276cbe Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Wed, 26 Mar 2025 14:37:01 -0400 Subject: [PATCH 08/14] Add listener to close drop down for click anywhere on page --- layouts/partials/md-dropdown.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/layouts/partials/md-dropdown.html b/layouts/partials/md-dropdown.html index 9854174826e5..1531d547ed1c 100644 --- a/layouts/partials/md-dropdown.html +++ b/layouts/partials/md-dropdown.html @@ -1,4 +1,4 @@ -
+
From b991da2e12dbc3d2835fa914736b564fc0c9ecb6 Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Wed, 26 Mar 2025 15:35:34 -0400 Subject: [PATCH 09/14] Add to footer for side-wide llms.txt --- hugo.yaml | 8 ++++++++ layouts/_default/index.llms.txt | 11 +++++++++++ layouts/partials/footer.html | 1 + 3 files changed, 20 insertions(+) create mode 100644 layouts/_default/index.llms.txt diff --git a/hugo.yaml b/hugo.yaml index 22cf7f9a5ee8..01c17ecdc415 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -81,6 +81,13 @@ outputFormats: isPlainText: true isHTML: false permalinkable: true + # llms.txt + llms: + baseName: llms + isPlainText: true + mediaType: "text/plain" + notAlternative: true + permalinkable: false # Enable custom output formats # (only generate the custom output files once) @@ -90,6 +97,7 @@ outputs: - redirects - metadata - robots + - llms page: - html - Markdown diff --git a/layouts/_default/index.llms.txt b/layouts/_default/index.llms.txt new file mode 100644 index 000000000000..97aa37305a82 --- /dev/null +++ b/layouts/_default/index.llms.txt @@ -0,0 +1,11 @@ +{{- $pages := .Site.RegularPages -}} +{{- $sorted := sort $pages "RelPermalink" -}} +{{- $grouped := $sorted.GroupBy "Section" -}} + +# Docker Documentation + +{{ range $grouped }} +## {{ humanize .Key }} +{{ range .Pages }} +- [{{ .Title }}]({{ .Permalink }}){{ end }} +{{ end -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 07072f380eb8..d35b4ce95f72 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -10,6 +10,7 @@ {{- with .GetPage "/contribute" }} {{ .LinkTitle }} {{- end }} + Read llms.txt
From f0b57f8cf7d3f7cabce85e95cf36f9073283f936 Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Wed, 26 Mar 2025 15:41:52 -0400 Subject: [PATCH 10/14] fix scrolling bug --- layouts/partials/md-dropdown.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/md-dropdown.html b/layouts/partials/md-dropdown.html index 1531d547ed1c..0b1eb395894e 100644 --- a/layouts/partials/md-dropdown.html +++ b/layouts/partials/md-dropdown.html @@ -1,4 +1,4 @@ -
+
Date: Wed, 26 Mar 2025 15:58:02 -0400 Subject: [PATCH 11/14] Fix scroll bug and feedback from Craig --- layouts/partials/md-dropdown.html | 104 +++++++++++++++++------------- 1 file changed, 58 insertions(+), 46 deletions(-) diff --git a/layouts/partials/md-dropdown.html b/layouts/partials/md-dropdown.html index 0b1eb395894e..352c6170bc9c 100644 --- a/layouts/partials/md-dropdown.html +++ b/layouts/partials/md-dropdown.html @@ -4,13 +4,9 @@ data-heap-id="markdown-dropdown-toggle" > Copy page - + + {{ partialCached "icon" "arrow_drop_down" "arrow_drop_down" }} + @@ -28,8 +24,11 @@ {{ partial "icon" "content_copy" }} +
-
Copy page
+
Copy page
Copy this page as Markdown for LLMs
@@ -45,7 +44,7 @@ {{ partial "icon" "description" }}
-
View as Markdown
+
View as Markdown
View this page as plain text
@@ -61,7 +60,7 @@ {{ partial "icon" "search" }}
-
Search Docs AI
+
Ask AI
Ask questions with Docs AI
@@ -70,47 +69,60 @@
- + if (!dropdown) return; + + const isClickInside = dropdown.contains(event.target); + + if (!isClickInside && dropdown.hasAttribute("open")) { + dropdown.removeAttribute("open"); + } + }); + \ No newline at end of file From 0af711ee02818730ef2936c8ca78e4c00a95345a Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Wed, 26 Mar 2025 16:28:55 -0400 Subject: [PATCH 12/14] change copy page to page options --- hugo_stats.json | 1 - layouts/partials/md-dropdown.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hugo_stats.json b/hugo_stats.json index a06d01a31c59..191027bcfd2c 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -524,7 +524,6 @@ "top-3", "top-6", "top-full", - "transform", "transition", "transition-colors", "transition-transform", diff --git a/layouts/partials/md-dropdown.html b/layouts/partials/md-dropdown.html index 352c6170bc9c..ac77bd1065b3 100644 --- a/layouts/partials/md-dropdown.html +++ b/layouts/partials/md-dropdown.html @@ -3,7 +3,7 @@ class="inline-flex cursor-pointer items-center gap-2 rounded border border-gray-light-200 bg-gray-light-200 px-4 py-2 text-base font-semibold text-black transition-colors hover:bg-gray-light-300 dark:border-gray-dark-200 dark:bg-gray-dark-300 dark:text-white dark:hover:bg-gray-dark-400" data-heap-id="markdown-dropdown-toggle" > - Copy page + Page options {{ partialCached "icon" "arrow_drop_down" "arrow_drop_down" }} From b3552ae596a9b3ffed7eef8c47f586b302e83e59 Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Thu, 27 Mar 2025 09:28:26 -0400 Subject: [PATCH 13/14] Condense descriptions and titles --- layouts/partials/md-dropdown.html | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/layouts/partials/md-dropdown.html b/layouts/partials/md-dropdown.html index ac77bd1065b3..b0a512f9fb2b 100644 --- a/layouts/partials/md-dropdown.html +++ b/layouts/partials/md-dropdown.html @@ -28,10 +28,7 @@ {{ partial "icon" "check_circle" }}
-
Copy page
-
- Copy this page as Markdown for LLMs -
+
Copy page as Markdown for LLMs
@@ -44,10 +41,7 @@ {{ partial "icon" "description" }}
-
View as Markdown
-
- View this page as plain text -
+
View page as plain text
@@ -60,10 +54,7 @@ {{ partial "icon" "search" }}
-
Ask AI
-
- Ask questions with Docs AI -
+
Ask questions with Docs AI
From 5f840221fcf75a451a761ebad6a9dd8a5f88a7fc Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Thu, 27 Mar 2025 10:40:21 -0400 Subject: [PATCH 14/14] add dropdown to landing pages + new template --- hugo.yaml | 5 ++++- layouts/_default/list.markdown.md | 7 +++++++ layouts/partials/content-default.html | 2 -- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 layouts/_default/list.markdown.md diff --git a/hugo.yaml b/hugo.yaml index 01c17ecdc415..d05908210ea9 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -80,7 +80,7 @@ outputFormats: mediaType: "text/markdown" isPlainText: true isHTML: false - permalinkable: true + permalinkable: false # llms.txt llms: baseName: llms @@ -101,6 +101,9 @@ outputs: page: - html - Markdown + section: + - html + - Markdown languages: en: diff --git a/layouts/_default/list.markdown.md b/layouts/_default/list.markdown.md new file mode 100644 index 000000000000..4dfb7bad83f2 --- /dev/null +++ b/layouts/_default/list.markdown.md @@ -0,0 +1,7 @@ +{{ .Title }} + +{{ .RawContent }} + +{{ range .Pages }} +- [{{ .Title }}](https://docs.docker.com{{ .RelPermalink }}) +{{ end }} \ No newline at end of file diff --git a/layouts/partials/content-default.html b/layouts/partials/content-default.html index 4e9e630364a9..db1adbeee763 100644 --- a/layouts/partials/content-default.html +++ b/layouts/partials/content-default.html @@ -3,11 +3,9 @@ {{ partial "breadcrumbs.html" . }}

{{ .Title }} - {{ if .IsPage }} {{ partial "md-dropdown.html" . }} - {{ end }}