Skip to content

Commit 5f84022

Browse files
add dropdown to landing pages + new template
1 parent b3552ae commit 5f84022

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

hugo.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ outputFormats:
8080
mediaType: "text/markdown"
8181
isPlainText: true
8282
isHTML: false
83-
permalinkable: true
83+
permalinkable: false
8484
# llms.txt
8585
llms:
8686
baseName: llms
@@ -101,6 +101,9 @@ outputs:
101101
page:
102102
- html
103103
- Markdown
104+
section:
105+
- html
106+
- Markdown
104107

105108
languages:
106109
en:

layouts/_default/list.markdown.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{{ .Title }}
2+
3+
{{ .RawContent }}
4+
5+
{{ range .Pages }}
6+
- [{{ .Title }}](https://docs.docker.com{{ .RelPermalink }})
7+
{{ end }}

layouts/partials/content-default.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
{{ partial "breadcrumbs.html" . }}
44
<h1 data-pagefind-weight="10" class="flex scroll-mt-36 items-center">
55
<span>{{ .Title }}</span>
6-
{{ if .IsPage }}
76
<span class="ml-auto">
87
{{ partial "md-dropdown.html" . }}
98
</span>
10-
{{ end }}
119
</h1>
1210

1311
<div class="block lg:hidden">

0 commit comments

Comments
 (0)