-
Notifications
You must be signed in to change notification settings - Fork 277
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 #299 from fi3ework/dev-1.6.2
Update log: #299
- Loading branch information
Showing
60 changed files
with
1,870 additions
and
6,825 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,3 @@ tags | |
*.ipr | ||
*.iws | ||
*.iml | ||
|
||
# JS source map file | ||
*.js.map | ||
*.js.LICENSE.txt |
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 |
---|---|---|
|
@@ -9,8 +9,9 @@ signature: witness me | |
social: | ||
email: [email protected] | ||
github: //github.com/fi3ework | ||
# wechat and qq should be a path of qr-code image | ||
# wechat should be a path of qr-code image path | ||
wechat: /assets/example_qr.png | ||
# qq should be a path of qr-code image path | ||
qq: | ||
telegram: | ||
weibo: | ||
|
@@ -85,12 +86,15 @@ comment: | |
valine_appId: | ||
valine_appKey: | ||
valine_placeHolder: | ||
# gitalk site: https://github.com/gitalk/gitalk#options | ||
# gitalk site: https://github.com/gitalk/gitalk/ | ||
# Value 'true' is recommended for gitalk_pathname_id setting | ||
gitalk_client_id: | ||
gitalk_client_secret: | ||
gitalk_admin: | ||
gitalk_owner: | ||
gitalk_repo: | ||
gitalk_pathname_id: false | ||
gitalk_create_issue_manually: true | ||
# utteranc site: https://utteranc.es/ | ||
utteranc_repo: | ||
utteranc_label: | ||
|
@@ -129,5 +133,17 @@ copyright: | |
enable: true | ||
# https://creativecommons.org/ | ||
license: '本文采用<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">知识共享署名-非商业性使用 4.0 国际许可协议</a>进行许可' | ||
# Website Approve | ||
website_approve: | ||
enable: false | ||
icp_approve: | ||
beian_approve: | ||
beian_img: /assets/beian.png | ||
# Blog page article timeliness days reminder, 0 for no threshold | ||
outdated_threshold: 0 | ||
# Blog float button theme ('default' or 'rounded') | ||
float_button_theme: default | ||
# Blog read progress color ('default' for black or 'feature' for feature-color) | ||
read_progress_color: default | ||
# Blog post banner theme ('default' or 'clean') | ||
post_banner_theme: default |
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,20 @@ | ||
<% if(is_home()) { %> | ||
<footer class="footer-fixed index-footer-fixed"> | ||
<% } else { %> | ||
<footer class="footer-fixed"> | ||
<% } %> | ||
<!-- back to top button --> | ||
<div class="footer-fixed-element"> | ||
<% if(theme.float_button_theme === 'rounded') { %> | ||
<div class="back-top back-top-rounded"> | ||
<% } else { %> | ||
<div class="back-top"> | ||
<% } %> | ||
<% if(theme.float_button_theme === 'rounded') { %> | ||
<i class="fas fa-chevron-up"></i> | ||
<% } else { %> | ||
<div></div> | ||
<% } %> | ||
</div> | ||
</div> | ||
</footer> |
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 |
---|---|---|
@@ -1,19 +1,24 @@ | ||
<!-- gitalk评论 --> | ||
<% if(theme.comment.gitalk_client_id && theme.comment.gitalk_client_secret && theme.comment.gitalk_admin && theme.comment.gitalk_owner && theme.comment.gitalk_repo) { %> | ||
<div id="comment-container"></div> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.css"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.min.js"></script> | ||
<% if(theme.comment && theme.comment.gitalk_client_id && theme.comment.gitalk_client_secret && theme.comment.gitalk_admin && theme.comment.gitalk_owner && theme.comment.gitalk_repo) { %> | ||
<div id="gitalk-container"></div> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.css"></link> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.min.js"></script> | ||
<script> | ||
var gitalk = new Gitalk({ | ||
let idOption = '<%- page.date %>' | ||
<% if(theme.comment.gitalk_pathname_id) { %> | ||
idOption = location.pathname | ||
<% } %> | ||
const gitalk = new Gitalk({ | ||
clientID: '<%- theme.comment.gitalk_client_id %>', | ||
clientSecret: '<%- theme.comment.gitalk_client_secret%>', | ||
id: '<%- page.date %>', | ||
repo: '<%- theme.comment.gitalk_repo%>', | ||
owner: '<%- theme.comment.gitalk_owner%>', | ||
admin: <%- JSON.stringify(theme.comment.gitalk_admin)%>, | ||
createIssueManually: true, | ||
distractionFreeMode: false | ||
clientSecret: '<%- theme.comment.gitalk_client_secret %>', | ||
repo: '<%- theme.comment.gitalk_repo %>', | ||
owner: '<%- theme.comment.gitalk_owner %>', | ||
admin: <%- JSON.stringify(theme.comment.gitalk_admin) %>, | ||
id: idOption, | ||
distractionFreeMode: false, | ||
createIssueManually: <%- theme.comment.gitalk_create_issue_manually %>, | ||
}) | ||
gitalk.render('comment-container') | ||
console.log(gitalk) | ||
gitalk.render('gitalk-container') | ||
</script> | ||
<% } %> | ||
<noscript>为正常使用 Gitalk 评论功能,您需要激活 JavaScript</noscript> | ||
<% } %> |
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.