Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. 添加百度推荐 2. 添加日历云
- Loading branch information
Showing
19 changed files
with
1,077 additions
and
39 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 |
---|---|---|
|
@@ -10,3 +10,4 @@ archive_a: 归档 | |
archive_b: 归档:%s | ||
page: 第 %d 页 | ||
recent_posts: 最新文章 | ||
calendar: 日历云 |
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 |
---|---|---|
|
@@ -41,4 +41,4 @@ if (page.archive){ | |
<% }); %> | ||
</div> | ||
<% } %> | ||
<%- partial('pagination') %> | ||
<%- partial('pagination') %> |
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 @@ | ||
<% if(theme.baidu_tuijian.enable){ %> | ||
<div id="<%= theme.baidu_tuijian.id %>"></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 |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
<%- partial('wumiicomments')%> | ||
<% } %> | ||
</section> | ||
<% } %> | ||
<% } %> |
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,8 @@ | ||
<section id = "relate"> | ||
<% if (theme.relate_provider == 'baidu_tuijian'){ %> | ||
<%- partial('baidu_tuijian') %> | ||
<% } else if(theme.relate_provider == 'wumii'){%> | ||
<%- partial('wumii') %> | ||
<% } %> | ||
</section> | ||
|
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,4 @@ | ||
<div class="widget tag"> | ||
<h3 class="title"><%= __('calendar') %></h3> | ||
<div id="calendar"></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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<% if (site.data.links){ %> | ||
<div class="widget tag"> | ||
<h3 class="title">友情链接</h3> | ||
<ul class="entry"> | ||
<% for (var i in site.data.links){ %> | ||
<li class='link'><a href='<%- site.data.links[i] %>'><%= i %></a></li> | ||
<% } %> | ||
</ul> | ||
</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 |
---|---|---|
|
@@ -7,4 +7,4 @@ | |
<% }); %> | ||
</ul> | ||
</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 |
---|---|---|
@@ -0,0 +1,101 @@ | ||
#calendar | ||
a | ||
text-decoration none | ||
|
||
.cal-head | ||
position relative | ||
height 20px | ||
padding 8px 6px 2px 6px | ||
|
||
.cal-prev,.cal-next | ||
position absolute | ||
top 9px | ||
width 9px | ||
height 10px | ||
padding 3px 4px | ||
border 1px solid transparent | ||
color #333 | ||
outline 0 | ||
|
||
.cal-prev | ||
left 8px | ||
&:before | ||
border-right 9px solid #333 | ||
|
||
.cal-next | ||
right 8px | ||
&:before | ||
border-left 9px solid #333 | ||
|
||
.cal-prev:before,.cal-next:before | ||
content '' | ||
display block | ||
width 0 | ||
height 0 | ||
border-top 5px solid transparent | ||
border-bottom 5px solid transparent | ||
|
||
.cal-title | ||
width 120px | ||
margin 0 auto | ||
color #333 | ||
font bold 14px/18px Arial | ||
text-align center | ||
a | ||
border 1px solid transparent | ||
color color-link | ||
|
||
.cal, | ||
.cal th, | ||
.cal td | ||
border 1px solid #eee | ||
|
||
.cal | ||
border-collapse separate | ||
border-spacing 0 | ||
border-width 1px 0 0 1px | ||
table-layout fixed | ||
width 100% | ||
margin 0 | ||
th | ||
color color-link | ||
border-width 0 1px 1px 0 | ||
font-weight 700 | ||
td | ||
border-width 0 1px 1px 0 | ||
tbody | ||
a | ||
background-color color-link | ||
color #fff | ||
display block | ||
font-weight 700 | ||
.cal-today | ||
color color-link | ||
font-weight bold | ||
.cal-gray | ||
color #ddd | ||
|
||
.cal th, | ||
.cal td | ||
font-weight normal | ||
line-height 2.5625 | ||
padding 0 | ||
text-align center | ||
|
||
.cal .cal-foot | ||
color color-link | ||
|
||
.cal-title a:hover, | ||
.cal-prev:hover, | ||
.cal-next:hover, | ||
.cal .cal-foot:hover, | ||
.cal .cal-foot:focus | ||
background-color color-link | ||
color #fff | ||
cursor pointer | ||
|
||
.cal tbody a:hover, | ||
.cal tbody a:focus | ||
background-color color-calendar-post-bg | ||
color #fff | ||
cursor pointer |
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 @@ | ||
#relate | ||
margin-top 10px | ||
margin-bottom 20px |
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.