update theme butterfly

This commit is contained in:
biss committed 2026-02-08 09:59:20 +08:00
1 parent 46c8721ff0
commit ebf7e1c464
8 files changed
+26 -10

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ extends includes/layout.pug
block content
include ./includes/mixins/article-sort.pug
#archive
#posts-chart(data-start="2025-01" style="height: 300px; padding: 10px;")
.article-sort-title= `${_p('page.articles')} - ${getArchiveLength()}`
+articleSort(page.posts)
include includes/pagination.pug
@@ -13,14 +13,21 @@ nav#nav
span= ' ' + _p('post.back_to_home')
#menus
if theme.search.use
#search-button
span.site-page.social-icon.search
i.fas.fa-search.fa-fw
span= ' ' + _p('search.title')
//- if theme.search.use
//- #search-button
//- span.site-page.social-icon.search
//- i.fas.fa-search.fa-fw
//- span= ' ' + _p('search.title')
if theme.menu
!= partial('includes/header/menu_item', {}, {cache: true})
#nav-right
if theme.search.use || true
#random-post-button
a.site-page.social-icon#random-post-link(href='javascript:void(0);' onclick='randomPost()')
i.fas.fa-solid.fa-shuffle
#search-button
a.site-page.social-icon.search-typesense-trigger
i.fas.fa-search.fa-fw
#toggle-menu
span.site-page
i.fas.fa-bars.fa-fw
+3 -1
View File
@@ -41,6 +41,7 @@ html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside
#body-wrap(class=pageType)
include ./header/index.pug
include ./others/memos_home.pug
main#content-inner.layout(class=hideAside)
if body
@@ -56,4 +57,5 @@ html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside
!=partial('includes/footer', {}, {cache: true})
include ./rightside.pug
include ./additional-js.pug
include ./additional-js.pug
include ./rightmenu.pug
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff. Show more