huge upgrade to theme and pagefind search bar.
This commit is contained in:
13
themes/hugo-book.backup/layouts/_partials/docs/header.html
Normal file
13
themes/hugo-book.backup/layouts/_partials/docs/header.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="flex align-center justify-between">
|
||||
<label for="menu-control">
|
||||
<img src="{{ partial "docs/icon" "menu" }}" class="book-icon" alt="{{ partial "docs/text/i18n" "Menu" }}" />
|
||||
</label>
|
||||
|
||||
<h3>{{ partial "docs/title" . }}</h3>
|
||||
|
||||
<label for="toc-control">
|
||||
{{ if partial "docs/toc-show" . }}
|
||||
<img src="{{ partial "docs/icon" "toc" }}" class="book-icon" alt="{{ partial "docs/text/i18n" "Table of Contents" }}" />
|
||||
{{ end }}
|
||||
</label>
|
||||
</div>
|
||||
Reference in New Issue
Block a user