opt(profile): add statistics data forword page (#557)

This commit is contained in:
isAlive 2019-11-13 22:57:33 +08:00 committed by Ruipeng Zhang
parent 258c32a327
commit f0fcff0a4d
1 changed files with 15 additions and 9 deletions

View File

@ -43,9 +43,11 @@
<p class="heading">
<%= _p('common.post', post_count()) %>
</p>
<p class="title has-text-weight-normal">
<%= post_count() %>
</p>
<a href="/archives">
<p class="title has-text-weight-normal">
<%= post_count() %>
</p>
</a>
</div>
</div>
<div class="level-item has-text-centered is-marginless">
@ -53,9 +55,11 @@
<p class="heading">
<%= _p('common.category', category_count()) %>
</p>
<p class="title has-text-weight-normal">
<%= category_count() %>
</p>
<a href="/categories">
<p class="title has-text-weight-normal">
<%= category_count() %>
</p>
</a>
</div>
</div>
<div class="level-item has-text-centered is-marginless">
@ -63,9 +67,11 @@
<p class="heading">
<%= _p('common.tag', tag_count()) %>
</p>
<p class="title has-text-weight-normal">
<%= tag_count() %>
</p>
<a href="/tags">
<p class="title has-text-weight-normal">
<%= tag_count() %>
</p>
</a>
</div>
</div>
</nav>