feat: stats page
This commit is contained in:
parent
67677ff9d4
commit
fa2c2ad514
14 changed files with 495 additions and 155 deletions
13
src/_includes/partials/post-graph.liquid
Normal file
13
src/_includes/partials/post-graph.liquid
Normal file
|
@ -0,0 +1,13 @@
|
|||
<div class="post-graph">
|
||||
{% assign years = postYears | reverse %}
|
||||
{%- for year in years %}
|
||||
<div class="post-graph__wrapper">
|
||||
<div class="post-graph__year">{{ year.year }}</div>
|
||||
<div class="post-graph__progress" style="width: {{ year.yearProgress }}%">
|
||||
</div>
|
||||
<div class="post-graph__data">
|
||||
{{ year.postCount }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
Reference in a new issue