Pure 设置记录
hexo-theme-pure git文档地址:
文档地址
背景动态设置
背景动画 基于canvas,在\themes\pure\layout\layout.ejs的body中面添加
1 2 3
| <script type="text/javascript" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js"></script>
|
gitcommet 设置
1 2 3 4 5 6 7 8 9 10 11 12 13
| comment: type: gitment # 启用哪种评论系统 # disqus: # enter disqus shortname here # youyan: # uid: 2kLH6P3hQG2bNQQ9a9mwRFmd-gzGzoHsz # enter youyan uid # livere: # uid: # enter youyan uid gitment: githubID: githubname repo: githubname.github.io ClientID: id ClientSecret: secrectid lazy: false
|
访问数设置
footer.ejs脚本
1 2 3 4 5 6 7 8 9 10
| <footer class="footer" itemscope itemtype="http://schema.org/WPFooter"> <%- partial('_common/social', null, {cache: !config.relative_link}) %> <div class="copyright"> <% if(theme.site.copyright) { %> © <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %> <% } %> </div> <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span >本站总访问量: <span id="busuanzi_value_site_pv"></span>次</span> </footer>
|