Add experimental icons support in menus, move icons to assets folder

This commit is contained in:
Alex Shpak
2025-09-22 23:47:25 +02:00
parent 69fb3210e8
commit 6ba59e191d
23 changed files with 79 additions and 63 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
<div class="flex align-center justify-between">
<label for="menu-control">
<img src="{{ "svg/menu.svg" | relURL }}" class="book-icon" alt="Menu" />
<img src="{{ partial "docs/icon" "menu" }}" class="book-icon" alt="Menu" />
</label>
<h3>{{ partial "docs/title" . }}</h3>
<label for="toc-control">
{{ if partial "docs/toc-show" . }}
<img src="{{ "svg/toc.svg" | relURL }}" class="book-icon" alt="Table of Contents" />
<img src="{{ partial "docs/icon" "toc" }}" class="book-icon" alt="Table of Contents" />
{{ end }}
</label>
</div>