-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #253 from XPoet/dev
Release new version
- Loading branch information
Showing
70 changed files
with
1,183 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,6 @@ | |
<% } %> | ||
<% }) %> | ||
<% } %> | ||
<%- exportConfig() %> | ||
<%- exportThemeConfig() %> | ||
</head> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div class="post-share-container border-box"> | ||
<ul class="share-list-wrap border-box"> | ||
<li class="qq share-item border-box flex-center tooltip" | ||
data-tooltip-content="<%= __('post.share.qq') %>" | ||
> | ||
<i class="fa-brands fa-qq"></i> | ||
</li> | ||
<li class="wechat share-item border-box flex-center tooltip tooltip-img" | ||
data-tooltip-content="<%= __('post.share.wechat') %>" | ||
data-tooltip-img-tip="<%= __('post.share.wechat_scan') %>" | ||
data-tooltip-img-style="background-color: #fff; top: -10px; padding: 0.6rem 0.6rem 0.1rem 0.6rem;" | ||
> | ||
<i class="fa-brands fa-weixin"></i> | ||
</li> | ||
<li class="weibo share-item border-box flex-center tooltip" | ||
data-tooltip-content="<%= __('post.share.weibo') %>" | ||
> | ||
<i class="fa-brands fa-weibo"></i> | ||
</li> | ||
</ul> | ||
</div> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="reward-author-container border-box flex-center"> | ||
<button class="keep-button border-box flex-center reward-btn tooltip tooltip-img" | ||
data-tooltip-content="<%= theme?.post?.reward?.text || __('post.reward') %>" | ||
data-tooltip-img-url="<%= theme?.post?.reward?.img_link %>" | ||
data-tooltip-img-trigger="click" | ||
data-tooltip-img-style="top: -8px;" | ||
> | ||
<i class="fa-solid fa-hand-holding-heart"></i> | ||
</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,61 @@ | ||
<!-- common --> | ||
<%- __js([ | ||
'js/utils.js', | ||
'js/main.js', | ||
'js/header-shrink.js', | ||
'js/back2top.js', | ||
'js/dark-light-toggle.js' | ||
'js/dark-light-toggle.js', | ||
'js/main.js', | ||
'js/libs/anime.min.js' | ||
]) %> | ||
|
||
<% | ||
const { | ||
local_search: t_local_search, | ||
code_copy: t_code_copy, | ||
code_block: t_code_block, | ||
lazyload: t_lazyload, | ||
toc: t_toc, | ||
pjax: t_pjax, | ||
comment: t_comment | ||
} = theme | ||
%> | ||
|
||
<% if (t_local_search?.enable === true) { %> | ||
<!-- local-search --> | ||
<% if (theme?.local_search?.enable === true) { %> | ||
<%- __js('js/local-search.js') %> | ||
<% } %> | ||
<% if (t_code_copy?.enable === true || t_code_block?.enable === true || t_code_block?.tools?.enable === true) { %> | ||
<!-- code-block --> | ||
<% if (theme?.code_block?.tools?.enable === true) { %> | ||
<%- __js('js/code-block.js') %> | ||
<% } %> | ||
<% if (t_lazyload?.enable === true) { %> | ||
<!-- lazyload --> | ||
<% if (theme?.lazyload?.enable === true) { %> | ||
<%- __js('js/lazyload.js') %> | ||
<% } %> | ||
<div class="post-scripts<%= theme?.pjax?.enable === true ? ' pjax' : '' %>"> | ||
<div class="<%= theme?.pjax?.enable === true ? 'pjax' : '' %>"> | ||
<% if (is_post()) { %> | ||
<%- __js('js/post-helper.js') %> | ||
<% if (t_toc?.enable === true || t_comment?.enable === true) { %> | ||
<%- __js('js/libs/anime.min.js') %> | ||
<!-- post-helper --> | ||
<%- __js('js/post/post-helper.js') %> | ||
<!-- toc --> | ||
<% if (theme?.toc?.enable === true) { %> | ||
<%- __js('js/post/toc.js') %> | ||
<% } %> | ||
<!-- copyright-info --> | ||
<% if (theme?.post?.copyright_info === true) { %> | ||
<%- __js('js/post/copyright-info.js') %> | ||
<% } %> | ||
<% if (t_toc?.enable === true) { %> | ||
<%- __js('js/toc.js') %> | ||
<!-- share --> | ||
<% if (theme?.post?.share === true) { %> | ||
<%- __js('js/post/share.js') %> | ||
<% } %> | ||
<% } %> | ||
<!-- category-page --> | ||
<% if (isCategoriesPage(page.path) === true) { %> | ||
<%- __js('js/category-page.js') %> | ||
<% } %> | ||
<!-- links-page --> | ||
<% if (isLinksPage(page.path) === true) { %> | ||
<%- __js('js/links-page.js') %> | ||
<% } %> | ||
</div> | ||
<% if (t_pjax?.enable === true) { %> | ||
<!-- pjax --> | ||
<% if (theme?.pjax?.enable === true) { %> | ||
<%- partial('pjax/pjax') %> | ||
<% } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.