Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
添加cnzz站长统计
  • Loading branch information
woheme committed May 27, 2015
1 parent 5e540cf commit 5b3da36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion _config.yml.example
Expand Up @@ -36,4 +36,7 @@ favicon: /favicon.png
twitter:
google_plus:
fb_admins:
fb_app_id:
fb_app_id:

# CNZZ id
cnzz:
3 changes: 3 additions & 0 deletions layout/_partial/cnzz.ejs
@@ -0,0 +1,3 @@
<% if (theme.cnzz){ %>
Analyse with <script src="http://s23.cnzz.com/z_stat.php?id=<%= theme.cnzz %>&web_id=<%= theme.cnzz %>" language="JavaScript"></script>
<% } %>
2 changes: 1 addition & 1 deletion layout/_partial/footer.ejs
Expand Up @@ -5,7 +5,7 @@
<div class="outer">
<div id="footer-info" class="inner">
&copy; <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %><br>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>. Theme by <a href="http://github.com/ppoffice">PPOffice</a>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>. Theme by <a href="http://github.com/hellochensq">Icarus</a>.<%- partial('cnzz') %>
</div>
</div>
</footer>

0 comments on commit 5b3da36

Please sign in to comment.