forked from fi3ework/hexo-theme-archer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix code style & udpate deps version & update docs
1. Fix code style: fix .ejs files' code style, as a must be done thing. 2. Update deps version: update jquery, fancybox, instantsearch.js and so on. 3. Update docs: there are so many issues (like fi3ework#168, fi3ework#231) caused by installing instruction, so I just update related docs. 4. One more thing: unify the majority of CDN links to `cdn.jsdelivr.net`
- Loading branch information
Showing
51 changed files
with
1,081 additions
and
1,237 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!-- 不可以删除,否则会调用post的layout --> | ||
<!-- 不可以删除,否则会调用 post 的 layout --> |
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,21 +1,20 @@ | ||
<div class="site-search"> | ||
<div class="algolia-popup popup"> | ||
<div class="algolia-search"> | ||
<div class="algolia-search-input-icon"> | ||
<i class="fa fa-search"></i> | ||
</div> | ||
<div class="algolia-search-input" id="algolia-search-input"></div> | ||
</div> | ||
<div class="algolia-popup popup"> | ||
<div class="algolia-search"> | ||
<div class="algolia-search-input-icon"> | ||
<i class="fa fa-search"></i> | ||
</div> | ||
<div class="algolia-search-input" id="algolia-search-input"></div> | ||
</div> | ||
|
||
<div class="algolia-results"> | ||
<div id="algolia-stats"></div> | ||
<div id="algolia-hits"></div> | ||
<div id="algolia-pagination" class="algolia-pagination"></div> | ||
</div> | ||
<div class="algolia-results"> | ||
<div id="algolia-stats"></div> | ||
<div id="algolia-hits"></div> | ||
<div id="algolia-pagination" class="algolia-pagination"></div> | ||
</div> | ||
|
||
<span class="popup-btn-close"> | ||
<i class="iconfont-archer"></i> | ||
</span> | ||
</div> | ||
<span class="popup-btn-close"> | ||
<i class="iconfont-archer"></i> | ||
</span> | ||
</div> | ||
</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
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,20 +1,20 @@ | ||
<% if(is_home()) { %> | ||
<footer class="footer-fixed index-footer-fixed"> | ||
<footer class="footer-fixed index-footer-fixed"> | ||
<% } else { %> | ||
<footer class="footer-fixed"> | ||
<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"> | ||
<div class="back-top back-top-rounded"> | ||
<% } else { %> | ||
<div class="back-top"> | ||
<div class="back-top"> | ||
<% } %> | ||
<% if(theme.float_button_theme === 'rounded') { %> | ||
<% if(theme.float_button_theme === 'rounded') { %> | ||
<i class="fas fa-chevron-up"></i> | ||
<% } else { %> | ||
<% } else { %> | ||
<div></div> | ||
<% } %> | ||
<% } %> | ||
</div> | ||
</div> | ||
</footer> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,40 @@ | ||
<footer class="footer footer-unloaded"> | ||
<!-- social --> | ||
<% if(theme.social) { %> | ||
<div class="social"> | ||
<%- partial('base-social') %> | ||
</div> | ||
<div class="social"> | ||
<%- partial('base-social') %> | ||
</div> | ||
<% } %> | ||
<!-- powered by Hexo --> | ||
<div class="copyright"> | ||
<span id="hexo-power">Powered by <a href="https://hexo.io/" target="_blank">Hexo</a></span><span class="iconfont-archer power"></span><span id="theme-info">theme <a href="https://github.com/fi3ework/hexo-theme-archer" target="_blank">Archer</a></span> | ||
</div> | ||
<!-- website approve for Chinese user --> | ||
<% if(theme.website_approve.enable) { %> | ||
<div class="website-approve"> | ||
<% if(theme.website_approve.icp_approve) { %> | ||
<span id="icp-approve" class="icp-approve"> | ||
<a href="https://beian.miit.gov.cn/" target="_blank"><%- theme.website_approve.icp_approve %></a> | ||
</span> | ||
<% } %> | ||
<% if(theme.website_approve.beian_approve && theme.website_approve.beian_img) { %> | ||
<% const beianPath = theme.website_approve.beian_img %> | ||
<img class="beian-img" src="<%- url_for(beianPath) %>" /> | ||
<span id="beian-approve" class="beian-approve"> | ||
<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=<%- theme.website_approve.beian_approve %>" target="_blank">京公网安备 <%- theme.website_approve.beian_approve %>号</a> | ||
</span> | ||
<% } %> | ||
</div> | ||
<div class="website-approve"> | ||
<% if(theme.website_approve.icp_approve) { %> | ||
<span id="icp-approve" class="icp-approve"> | ||
<a href="https://beian.miit.gov.cn/" target="_blank"><%- theme.website_approve.icp_approve %></a> | ||
</span> | ||
<% } %> | ||
<% if(theme.website_approve.beian_approve && theme.website_approve.beian_img) { %> | ||
<% const beianPath = theme.website_approve.beian_img %> | ||
<img class="beian-img" src="<%- url_for(beianPath) %>" /> | ||
<span id="beian-approve" class="beian-approve"> | ||
<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=<%- theme.website_approve.beian_approve %>" target="_blank">京公网安备 <%- theme.website_approve.beian_approve %>号</a> | ||
</span> | ||
<% } %> | ||
</div> | ||
<% } %> | ||
<!-- 不蒜子 --> | ||
<% if (theme.busuanzi) { %> | ||
<div class="busuanzi-container"> | ||
<% var sloganPieces = theme.busuanzi_slug.split('${count}') %> | ||
<% if(theme.busuanzi_pv_or_uv === 'pv') { %> | ||
<span id="busuanzi_container_site_pv"><%- sloganPieces[0] %><span id="busuanzi_value_site_pv"></span><%- sloganPieces[1] %></span> | ||
<% } else if (theme.busuanzi_pv_or_uv === 'uv') { %> | ||
<span id="busuanzi_container_site_uv"><%- sloganPieces[0] %><span id="busuanzi_value_site_uv"></span><%- sloganPieces[1] %></span> | ||
<% } %> | ||
</div> | ||
<% } %> | ||
<!-- mermaid --> | ||
<% if (theme.mermaid.enable) { %> | ||
<script src='https://unpkg.com/mermaid@<%= theme.mermaid.version %>/dist/mermaid.min.js'></script> | ||
<script> | ||
if (window.mermaid) { | ||
mermaid.initialize({theme: 'forest'}); | ||
} | ||
</script> | ||
<% } %> | ||
</footer> | ||
<div class="busuanzi-container"> | ||
<% var sloganPieces = theme.busuanzi_slug.split('${count}') %> | ||
<% if(theme.busuanzi_pv_or_uv === 'pv') { %> | ||
<span id="busuanzi_container_site_pv"><%- sloganPieces[0] %><span id="busuanzi_value_site_pv"></span><%- sloganPieces[1] %></span> | ||
<% } else if (theme.busuanzi_pv_or_uv === 'uv') { %> | ||
<span id="busuanzi_container_site_uv"><%- sloganPieces[0] %><span id="busuanzi_value_site_uv"></span><%- sloganPieces[1] %></span> | ||
<% } %> | ||
</div> | ||
<% } %> | ||
</footer> |
Oops, something went wrong.