优化移动端侧边栏
自动部署 / deploy (push) Successful in 3m45s

This commit is contained in:
2026-04-25 13:46:21 +08:00
Unverified
parent fb14ba2be4
commit b7458f490c
6 changed files with 118 additions and 20 deletions
@@ -1,9 +1,9 @@
nav#nav
//- 左侧区域:包含指纹菜单和网站名
span#blog-info
#ls-menu-container
#ls-menu-container.ls-mobile-safe
i.fas.fa-fingerprint
#ls-menu-panel
#ls-menu-panel.ls-mobile-safe-panel
.ls-section
.ls-title 😀 个人网站
.ls-grid
@@ -51,4 +51,4 @@ nav#nav
i.fas.fa-search.fa-fw
#toggle-menu
span.site-page
i.fas.fa-bars.fa-fw
i.fas.fa-bars.fa-fw
+1 -1
View File
@@ -58,4 +58,4 @@ html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside
include ./rightside.pug
include ./additional-js.pug
include ./rightmenu.pug
include ./rightmenu.pug
+1 -14
View File
@@ -2,17 +2,4 @@ if theme.menu
#sidebar
#menu-mask
#sidebar-menus
.avatar-img.text-center
img(src=url_for(theme.avatar.img) onerror=`this.onerror=null;this.src='${url_for(theme.error_img.flink)}'` alt="avatar")
.site-data.text-center
a(href=`${url_for(config.archive_dir)}/`)
.headline= _p('aside.articles')
.length-num= site.posts.length
a(href=`${url_for(config.tag_dir)}/`)
.headline= _p('aside.tags')
.length-num= site.tags.length
a(href=`${url_for(config.category_dir)}/`)
.headline= _p('aside.categories')
.length-num= site.categories.length
!= partial('includes/header/menu_item', {}, { cache: true })
#sidebar-aside-wrapper