|
29 | 29 | )%> |
30 | 30 | </span> |
31 | 31 | <% }%> |
| 32 | +<%if (theme.valine.enable==true&&theme.valine.visitor==true) {%> |
| 33 | +<span id="<%- '/' + page.path %>"class="leancloud_visitors" data-flag-title="<%- page.title %>"> |
| 34 | +<bclass="iconfont icon-read"></b> |
| 35 | +<iclass="leancloud-visitors-count">1000000</i> |
| 36 | +</span> |
| 37 | +<% }%> |
32 | 38 | </p> |
33 | 39 | <% }%> |
34 | 40 | <%if (page.tags&&page.tags.length){%> |
|
53 | 59 | </div> |
54 | 60 | </div> |
55 | 61 |
|
56 | | -<divclass="article animated fadeIn"> |
| 62 | +<divclass="article"> |
57 | 63 | <divclass='main'> |
58 | | - <divclass="content markdown"> |
| 64 | + <divclass="content markdown animated fadeIn slower"> |
59 | 65 | <%-page.content%> |
60 | 66 | <!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]--> |
61 | 67 | <audioid="audio"loop="1"preload="auto"controls="controls"data-autoplay="<%- theme.autoplay || page.autoplay ||"false" %>"> |
|
72 | 78 | <%}%> |
73 | 79 | </ul> |
74 | 80 | <%}%> |
| 81 | +<%if (theme.gitalk.enable==true){%> |
| 82 | +<%-partial('gitalk', {post: page})%> |
| 83 | +<% }%> |
| 84 | +<%if (theme.valine.enable==true){%> |
| 85 | +<div id="vcomments"></div> |
| 86 | +<% }%> |
75 | 87 | </div> |
76 | | -<%-partial('gitalk', {post: page})%> |
77 | | - </div> |
78 | | -<%if (theme.TOC==true){%> |
79 | | -<divclass='side'> |
80 | | -<%-toc(page.content, {list_number:true})%> |
| 88 | + <divclass="sidebar"> |
| 89 | + <divclass="box animated fadeInRight"> |
| 90 | + <divclass="subbox"> |
| 91 | + <imgsrc="<%- theme.avatar %>"height=300width=300></img> |
| 92 | + <p><%-config.author%></p> |
| 93 | + <span><%-theme.descriptionOne%></span> |
| 94 | + </div> |
| 95 | + <ul> |
| 96 | + <li><ahref="/"><%-site.posts.length%> <p>文章</p></a></li> |
| 97 | + <li><ahref="/categories"><%-site.categories.length%> <p>分类</p></a></li> |
| 98 | + <li><ahref="/tags"><%-site.tags.length%> <p>标签</p></a></li> |
| 99 | + </ul> |
| 100 | + </div> |
| 101 | +<%if (theme.TOC==true) {%> |
| 102 | +<% toc=toc(page.content, {list_number:true})%> |
| 103 | +<%if (toc.length>1) {%> |
| 104 | +<divclass="box sticky animated fadeInRight faster"> |
| 105 | +<div id="toc"class="subbox"> |
| 106 | +<h4>目录</h4> |
| 107 | +<%- toc%> |
| 108 | +</div> |
| 109 | +</div> |
| 110 | +<%}%> |
| 111 | +<%}%> |
81 | 112 | </div> |
82 | | -<%}%> |
| 113 | + </div> |
83 | 114 | </div> |
84 | 115 |
|