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