-
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.
Merge pull request #7 from littleee/index-tag/lbc
NO 1
- Loading branch information
Showing
28 changed files
with
462 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,6 @@ rss_feed: RSS Feed | |
category: Category | ||
tag: Tag | ||
Archives: Archives | ||
footer: | ||
powered: "由 %s 强力驱动" | ||
theme: 主题 |
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
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,23 @@ | ||
<div class="footer"> | ||
<div class="footer-wrapper"> | ||
<div class="copyright"> | ||
<% var current = date(Date.now(), "YYYY") %> | ||
<span>©</span> | ||
<% if(!theme.footer.since || theme.footer.since == current){ %> | ||
<span><%- current %></span> | ||
<% }else{ %> | ||
<span><%- theme.footer.since %> - <%- current %></span> | ||
<%}%> | ||
<span class="author"><i class="fa fa-<%= theme.footer.icon %>"></i><%= theme.footer.copyright || config.author %></span> | ||
</div> | ||
<% if(theme.footer.powered) { %> | ||
<span><%- __('footer.powered','<a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a>') %></span> | ||
<% } %> | ||
<% if(theme.footer.theme.enable) {%> | ||
<span>|</span> <span><%- __('footer.theme') %> - <a href="https://github.com/littleee/corazon"><%- theme.footer.theme.name %></a></span> | ||
<% if(theme.footer.theme.version) {%> | ||
<span>v<%- theme.version %></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,8 +1,9 @@ | ||
<% if (page.total > 1){ %> | ||
<nav class="page-nav"> | ||
<%- paginator({ | ||
prev_text: "« __(Prev)", | ||
next_text: "__(Next) »" | ||
prev_text: __('paginator.prev_text'), | ||
next_text: __('paginator.next_text'), | ||
show_all: true | ||
}) %> | ||
</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 +1,3 @@ | ||
guanyu | ||
<div class="about"> | ||
|
||
</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
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
<div class="content"> | ||
<%- body %> | ||
</div> | ||
<%- partial('_common/footer') %> | ||
</main> | ||
</body> | ||
</html> |
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,3 @@ | ||
.about{ | ||
|
||
} |
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,39 @@ | ||
.footer{ | ||
width: 100% | ||
padding: 30px 20px | ||
background-color: #333 | ||
color: #fff | ||
position: absolute | ||
left: 0 | ||
bottom: 0 | ||
text-align: center | ||
span{ | ||
margin: 0 5px | ||
} | ||
i{ | ||
margin-right: 10px | ||
} | ||
a{ | ||
color: #24a5db | ||
transition: color 0.5s ease | ||
text-decoration: none | ||
&:hover{ | ||
text-decoration: none | ||
color: #97ffff | ||
} | ||
} | ||
.copyright{ | ||
span{ | ||
margin: 2px | ||
} | ||
.author{ | ||
margin-left:15px | ||
} | ||
} | ||
|
||
} | ||
@media(max-width: 480px){ | ||
.footer{ | ||
padding: 30px 10px | ||
} | ||
} |
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.