0.1.0 • Published 9 years ago
hexo-generator-calendar v0.1.0
Calendar
hexo calendar plugin based on https://github.com/howiefh/hexo-generator-calendar
Install
Execute the following command.
npm install --save hexo-generator-calendar
Config
generate calendar json data from site.posts and create calendar with vanilla js without no jquery, make this plugin very lightweight
no config needed, just add these code to your template file
<div id="calendar_wrap" time="2016-07-10">
</div>
<script>
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = '/js/pikaday.js';
s.async= true;
(d.head || d.body).appendChild(s);
})();
</script>
you can put these code in your html file anywhere
0.1.0
9 years ago