update theme butterfly
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -41,6 +41,7 @@ html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside
|
|||||||
|
|
||||||
#body-wrap(class=pageType)
|
#body-wrap(class=pageType)
|
||||||
include ./header/index.pug
|
include ./header/index.pug
|
||||||
|
include ./others/memos_home.pug
|
||||||
|
|
||||||
main#content-inner.layout(class=hideAside)
|
main#content-inner.layout(class=hideAside)
|
||||||
if body
|
if body
|
||||||
@@ -57,3 +58,4 @@ html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside
|
|||||||
|
|
||||||
include ./rightside.pug
|
include ./rightside.pug
|
||||||
include ./additional-js.pug
|
include ./additional-js.pug
|
||||||
|
include ./rightmenu.pug
|
||||||
@@ -1 +1,2 @@
|
|||||||
.category-lists!= list_categories()
|
.category-lists!= list_categories()
|
||||||
|
<div id="categories-chart" data-parent="true" style="height: 300px; padding: 10px;"></div>
|
||||||
@@ -4,3 +4,4 @@ if theme.aside.card_announcement.enable
|
|||||||
i.fas.fa-bullhorn.fa-shake
|
i.fas.fa-bullhorn.fa-shake
|
||||||
span= _p('aside.card_announcement')
|
span= _p('aside.card_announcement')
|
||||||
.announcement_content!= theme.aside.card_announcement.content
|
.announcement_content!= theme.aside.card_announcement.content
|
||||||
|
#welcome-ip-location-info
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
else
|
else
|
||||||
!=partial('includes/widget/card_author', {}, {cache: true})
|
!=partial('includes/widget/card_author', {}, {cache: true})
|
||||||
!=partial('includes/widget/card_announcement', {}, {cache: true})
|
!=partial('includes/widget/card_announcement', {}, {cache: true})
|
||||||
|
!=partial('includes/widget/card_poem', {}, {cache: true})
|
||||||
!=partial('includes/widget/card_top_self', {}, {cache: true})
|
!=partial('includes/widget/card_top_self', {}, {cache: true})
|
||||||
.sticky_layout
|
.sticky_layout
|
||||||
if showToc
|
if showToc
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
//- page
|
//- page
|
||||||
!=partial('includes/widget/card_author', {}, {cache: true})
|
!=partial('includes/widget/card_author', {}, {cache: true})
|
||||||
!=partial('includes/widget/card_announcement', {}, {cache: true})
|
!=partial('includes/widget/card_announcement', {}, {cache: true})
|
||||||
|
!=partial('includes/widget/card_poem', {}, {cache: true})
|
||||||
!=partial('includes/widget/card_top_self', {}, {cache: true})
|
!=partial('includes/widget/card_top_self', {}, {cache: true})
|
||||||
|
|
||||||
.sticky_layout
|
.sticky_layout
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ block content
|
|||||||
include includes/header/post-info.pug
|
include includes/header/post-info.pug
|
||||||
|
|
||||||
article#article-container.container.post-content
|
article#article-container.container.post-content
|
||||||
|
if page.summary && theme.ai_summary.enable
|
||||||
|
include includes/post/post-summary.pug
|
||||||
if theme.noticeOutdate.enable && page.noticeOutdate !== false
|
if theme.noticeOutdate.enable && page.noticeOutdate !== false
|
||||||
include includes/post/outdate-notice.pug
|
include includes/post/outdate-notice.pug
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user