fix: Remove blog directory menu

This commit is contained in:
2025-01-01 16:42:26 +08:00
parent 9fa05423e6
commit de0c34053b
3 changed files with 17 additions and 44 deletions

View File

@@ -43,20 +43,6 @@
<hr/>
</div>
<div id="toc-box"></div>
<div id="toc-box-menu">
<hr/>
{{ range $i, $v := .menu.Items }}
<span class="toc-box-menu-item">
<i class="{{ $v.Icon }} m-icon" onclick="goto('{{ $v.Url }}')"></i>
</span>
{{ end }}
<span class="toc-box-menu-item" onclick="backToTop()">
<i class="fa-solid fa-circle-up"></i>
</span>
<span class="toc-box-menu-item" onclick="back()">
<i class="fa-solid fa-right-from-bracket"></i>
</span>
</div>
</div>
<!-- body -->
@@ -129,6 +115,13 @@
</div>
{{ end }}
<!-- back to top -->
<div class="back-to-top-wrap" onclick="backToTop()">
<svg t="1735720590553" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8716" width="36" height="36">
<path d="M747.6 788.4c0 130.1-105.5 235.6-235.6 235.6S276.4 918.5 276.4 788.4c0-99 61.1-235.2 147.7-294.6 34.8-23.9 55.9-63 55.9-105.2V32c0-8.8 3.6-16.8 9.4-22.6C495.2 3.6 503.2 0 512 0c17.7 0 32 14.3 32 32v356.5c0 42.2 21.2 81.4 55.9 105.2 86.6 59.5 147.7 195.7 147.7 294.7z" p-id="8717" fill="#6d6faa"></path>
</svg>
</div>
<!-- theme -->
<div class="theme-wrap" onclick="changeTheme()">
<svg t="1735089313984" class="icon theme-btn" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6403" width="36" height="36">