Skip to content

Commit

Permalink
增加博客统计
Browse files Browse the repository at this point in the history
  • Loading branch information
monniya committed Jun 14, 2016
1 parent 2ab3e82 commit 9167bb8
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hexo-new-vno

![主页封面](source/images/show/home.png)

![文章列表](source/images/show/list.png)
![文章列表](source/images/show/list.jpeg)

## 封面

Expand Down Expand Up @@ -91,9 +91,9 @@ baidu_tongji: 百度统计识别码
favicon: /images/avatar-small.png
```
谷歌跟踪ID:
![谷歌统计](source/images/show/google-analytics.png)
![谷歌统计](source/images/show/google-analytics.jpeg)
百度统计识别码:
![百度统计](source/images/show/baidu_tongji.png)
![百度统计](source/images/show/baidu_tongji.jpeg)
### 文章
Expand All @@ -106,4 +106,4 @@ date: 2016-03-03 10:46:46
tags: 分类
---
```
![百度统计](source/images/show/article.png)
![百度统计](source/images/show/article.jpeg)
1 change: 1 addition & 0 deletions layout/_partial/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
修改自 <a href="https://github.com/lenbo-ma/hexo-theme-vno" target="_blank">Vno</a>, 原创出自<a href="http://github.com/onevcat/vno" target="_blank">onevcat</a>
</span>
</footer>

2 changes: 2 additions & 0 deletions layout/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@

<%- partial('_partial/google_analytics') %>
<%- partial('_partial/baidu_tongji') %>
<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js">
</script>
</body>
</html>
6 changes: 5 additions & 1 deletion layout/post.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

<header class="post-header">
<div class="post-meta">
<%- partial('_partial/date',{post: page}) %> &#8226; <span class="post-meta__tags tags">于&nbsp;<%- partial('_partial/tags',{post: page}) %></span>
<%- partial('_partial/date',{post: page}) %> &#8226; <span class="post-meta__tags tags">于&nbsp;<%- partial('_partial/tags',{post: page}) %> </span>
<span class="page-pv">
&nbsp;阅读&nbsp;<span id="busuanzi_value_page_pv"><i class="fa fa-spinner fa-spin"></i></span>
</span>

</div>
<h1 class="post-title"><%= page.title%></h1>
</header>
Expand Down
9 changes: 9 additions & 0 deletions source/css/vno.styl
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,15 @@ hr {
border: none;
box-shadow: none;
}
.post-meta .page-pv {

margin-right: 0.5em;
font-size: 0.8em;
float: right;
}
i.fa.fa-spinner.fa-spin {
font-size: 0.8em;
}

.post img {
max-width: 100%;
Expand Down
Binary file added source/images/show/article.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/images/show/article.png
Binary file not shown.
Binary file added source/images/show/baidu_tongji.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/images/show/baidu_tongji.png
Binary file not shown.
Binary file added source/images/show/google-analytics.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/images/show/google-analytics.png
Binary file not shown.
Binary file modified source/images/show/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/show/list.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/images/show/list.png
Binary file not shown.
Binary file removed source/images/show/page.png
Binary file not shown.

0 comments on commit 9167bb8

Please sign in to comment.