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 -1
View File
@@ -329,7 +329,7 @@ footer:
<div class="my-footer-content-column"> <div class="my-footer-content-column">
<ul id="menu-get-started" class="my-footer-menu-list"> <ul id="menu-get-started" class="my-footer-menu-list">
<li class="menu-item menu-item-type-post_type menu-item-object-product"> <li class="menu-item menu-item-type-post_type menu-item-object-product">
<a href="https://notbyai.fyi/" target="_blank" rel="external nofollow noopener noreferrer"><img class="img-not-ai" src="https://pic.biss.click/image/95a79ad4-5265-42d9-8ebc-0dde74928946.webp" alt="Written by Human, Not by AI"></a> <a href="https://notbyai.fyi/" target="_blank" rel="external nofollow noopener noreferrer"><img class="img-not-ai" src="https://pic.biss.click/image/f1bb8627-9cdc-43b8-a609-d7fd10dcfd37.webp" alt="Written by Human, Not by AI"></a>
</li> </li>
<li class="menu-item menu-item-type-post_type menu-item-object-product"> <li class="menu-item menu-item-type-post_type menu-item-object-product">
<a href="/cc" ><img src="https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg" alt="署名-非商业性使用-相同方式共享 4.0 国际"></a> <a href="/cc" ><img src="https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg" alt="署名-非商业性使用-相同方式共享 4.0 国际"></a>
+1
View File
@@ -3,6 +3,7 @@ extends includes/layout.pug
block content block content
include ./includes/mixins/article-sort.pug include ./includes/mixins/article-sort.pug
#archive #archive
#posts-chart(data-start="2025-01" style="height: 300px; padding: 10px;")
.article-sort-title= `${_p('page.articles')} - ${getArchiveLength()}` .article-sort-title= `${_p('page.articles')} - ${getArchiveLength()}`
+articleSort(page.posts) +articleSort(page.posts)
include includes/pagination.pug include includes/pagination.pug
@@ -13,14 +13,21 @@ nav#nav
span= ' ' + _p('post.back_to_home') span= ' ' + _p('post.back_to_home')
#menus #menus
if theme.search.use //- if theme.search.use
#search-button //- #search-button
span.site-page.social-icon.search //- span.site-page.social-icon.search
i.fas.fa-search.fa-fw //- i.fas.fa-search.fa-fw
span= ' ' + _p('search.title') //- span= ' ' + _p('search.title')
if theme.menu if theme.menu
!= partial('includes/header/menu_item', {}, {cache: true}) != 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 #toggle-menu
span.site-page span.site-page
i.fas.fa-bars.fa-fw i.fas.fa-bars.fa-fw
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff. Show more