Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
invom
committed
Mar 15, 2019
1 parent
25a8988
commit 49c1a6c
Showing
35 changed files
with
560 additions
and
24,981 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
Empty file.
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,33 +1,29 @@ | ||
<footer class="footer footer-default"> | ||
<div class="container"> | ||
<div class="float-left" style="padding: 15px 0;"> | ||
<%- theme.footer %> | ||
</div> | ||
<div class="copyright float-right"> | ||
© | ||
<script> | ||
document.write(new Date().getFullYear()) | ||
</script> <a href="https://hexo.io/zh-cn/" target="_blank">HEXO</a> <i class="material-icons">favorite_border</i> | ||
<a href="https://github.com/invom/Material-T" target="_blank">Material-T</a> | ||
</div> | ||
</div> | ||
<footer class="mt-5"> | ||
<div class="text-center py-3"> | ||
<a href="https://hexo.io" target="_blank"><b>HEXO</b></a> | ||
<i class="iconfont icon-love"></i> | ||
<a href="https://github.com/invom/Material-T" target="_blank"> <b>Material-T</b></a> | ||
</div> | ||
</footer> | ||
<!-- Core JS Files --> | ||
<%- js("/js/core/jquery.min.js?v=3.2.1") %> | ||
<%- js("/js/main.js") %> | ||
<%- js("/js/core/popper.min.js") %> | ||
<%- js("/js/core/bootstrap-material-design.min.js") %> | ||
<%- js("/js/plugins/moment.min.js") %> | ||
<!-- Control Center for Material Kit: parallax effects, scripts for the example pages etc --> | ||
<%- js("/js/material-kit.min.js?v=2.0.5") %> | ||
<% if(is_post()){ %> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.min.js"></script> | ||
<%- js("/js/post.js") %> | ||
<%- js('/js/plugins/prettify.js') %> | ||
<script> | ||
$(document).ready(function(){ | ||
$('pre').addClass('prettyprint linenums'); | ||
prettyPrint(); | ||
}) | ||
</script> | ||
<% } %> | ||
|
||
<!-- SCRIPTS --> | ||
<%- js("https://cdn.jsdelivr.net/npm/mdbootstrap@4.7.4/js/jquery-3.3.1.min.js") %> | ||
<%- js("https://cdn.jsdelivr.net/npm/mdbootstrap@4.7.4/js/popper.min.js") %> | ||
<%- js("https://cdn.jsdelivr.net/npm/mdbootstrap@4.7.4/js/bootstrap.min.js") %> | ||
<%- js("https://cdn.jsdelivr.net/npm/mdbootstrap@4.7.4/js/mdb.min.js") %> | ||
<%- js("js/main.js") %> | ||
<% if(is_post()){ %> | ||
<% if(theme.post.toc.enable){ %> | ||
<%- js("https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.min.js") %> | ||
<% } %> | ||
<%- js("/js/post.js") %> | ||
<% if(theme.post.highlight.enable){ %> | ||
<%- js("js/plugins/prettify.js") %> | ||
<script> | ||
$(document).ready(function(){ | ||
$('pre').addClass('prettyprint linenums'); | ||
prettyPrint(); | ||
}) | ||
</script> | ||
<% } %> | ||
<% } %> |
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,37 +1,23 @@ | ||
<nav class="navbar navbar-transparent navbar-color-on-scroll fixed-top navbar-expand-lg" color-on-scroll="100" id="sectionsNav"> | ||
<div class="container"> | ||
<div class="navbar-translate"> | ||
<a class="navbar-brand" href="<%- url_for() %>"> | ||
<%= config.title %></a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="navbar-toggler-icon"></span> | ||
<span class="navbar-toggler-icon"></span> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
</div> | ||
<div class="collapse navbar-collapse"> | ||
<ul class="navbar-nav ml-auto"> | ||
<% if(theme.navbar.menu.enable) { %> | ||
<% for(var i in theme.navbar.menu.list) { %> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="<%- url_for(theme.navbar.menu.list[i]) %>"> | ||
<%= i %> | ||
</a> | ||
</li> | ||
<% } %> | ||
<% } %> | ||
<% if(theme.navbar.icons.enable) { %> | ||
<% for(var j in theme.navbar.icons.list) { %> | ||
<li class="nav-item"> | ||
<a class="nav-link" rel="tooltip" title="" data-placement="bottom" href="<%- theme.navbar.icons.list[j] %>" target="_blank" data-original-title="<%= theme.navbar.icons.tips %>"> | ||
<i class="fa fa-<%= j %>"></i> | ||
</a> | ||
</li> | ||
<% } %> | ||
<% } %> | ||
</ul> | ||
</div> | ||
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar"> | ||
<div class="container"> | ||
<a class="navbar-brand" href="<%- url_for() %>"><strong><%= config.title %></strong></a> | ||
|
||
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" | ||
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<div class="animated-icon"><span></span><span></span><span></span></div> | ||
</button> | ||
|
||
<!-- Collapsible content --> | ||
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||
<ul class="navbar-nav ml-auto text-center"> | ||
<% for(var i in theme.navbar.menu) { %> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="<%- url_for(theme.navbar.menu[i]) %>"><%= i %></a> | ||
</li> | ||
<% } %> | ||
</ul> | ||
</div> | ||
</nav> | ||
|
||
</div> | ||
|
||
|
||
</nav> |
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,14 +1,16 @@ | ||
<% if (page.total > 1){ %> | ||
<div class="text-center"> | ||
<% if(page.prev != 0) { %> | ||
<a class="btn btn-primary btn-just-icon btn-round" href="<%- url_for(page.prev_link) %>"> | ||
<i class="material-icons">navigate_before</i> | ||
</a> | ||
<% } %> | ||
<% if(page.next != 0) { %> | ||
<a class="btn btn-primary btn-just-icon btn-round" href="<%- url_for(page.next_link) %>"> | ||
<i class="material-icons">navigate_next</i> | ||
</a> | ||
<% } %> | ||
</div> | ||
<% } %> | ||
<nav aria-label="index posts navigation"> | ||
<ul class="pagination pg-blue justify-content-center mt-5"> | ||
<% if(page.prev != 0) { %> | ||
<li class="page-item"> | ||
<a class="page-link" href="<%- url_for(page.prev_link) %>">Previous</a> | ||
</li> | ||
<% } %> | ||
<% if(page.next != 0) { %> | ||
<li class="page-item"> | ||
<a class="page-link" href="<%- url_for(page.next_link) %>">Next</a> | ||
</li> | ||
<% } %> | ||
</ul> | ||
</nav> | ||
<% } %> |
Oops, something went wrong.