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
var Post = hexo.database.model('Post'); | |
hexo.extend.tag.register('monthly_post_list', function(args) { | |
var dateStr = args[0]; | |
var tag = args[1] || null; | |
var startDate, endDate; | |
if(dateStr.length <= 2) { | |
startDate = new Date(); | |
startDate.setMonth( parseInt(dateStr, 10)-1, 1); |
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
*{ | |
font-family:"Trebuchet MS","Segoe UI","Arial","Serif" !important; | |
color:#333 !important; | |
} | |
body{background:none !important; background-color:#fff !important;} | |
.bar {border:none !important; background:none !important;background-color:#C8DCF5 !important;} | |
.subscribebar, .subscribebar a:link, .subscribebar a:visited { color:#fff !important; } | |
.control, .control a:link,.control a:visited {color:#fff !important;} | |
a,a:link,a:visited{ | |
text-decoration:none !important; |
OlderNewer