#757, show landing page menu based of page layout
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ body[dir="rtl"] .book-menu {
|
||||
}
|
||||
}
|
||||
|
||||
.book-kind-home .book-header {
|
||||
.book-layout-landing .book-header {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
{{ partial "docs/html-head" . }}
|
||||
{{ partial "docs/inject/head" . }}
|
||||
</head>
|
||||
<body dir="{{ default "ltr" .Site.Language.LanguageDirection }}" class="book-kind-{{ .Kind }} book-type-{{ .Type }}">
|
||||
<body dir="{{ default "ltr" .Site.Language.LanguageDirection }}" class="book-kind-{{ .Kind }} book-type-{{ .Type }} book-layout-{{ .Layout }}">
|
||||
<input type="checkbox" class="hidden toggle" id="menu-control" />
|
||||
<input type="checkbox" class="hidden toggle" id="toc-control" />
|
||||
<main class="container flex">
|
||||
|
||||
Reference in New Issue
Block a user