chore: organization
This commit is contained in:
parent
1932b02c8f
commit
e3e4ab0335
39 changed files with 44 additions and 44 deletions
|
@ -8,7 +8,7 @@ permalink: /stats.html
|
|||
<p>My first post was published on <strong class="highlight-text">{{ collections.postStats.firstPostDate | dateToReadableDate }}</strong> and my most recent one was published on <strong class="highlight-text">{{ collections.postStats.lastPostDate | dateToReadableDate }}</strong>. I've published <strong class="highlight-text">{{ collections.postStats.postCount }} posts</strong> containing <strong class="highlight-text">{{ collections.postStats.totalWordCount }} words</strong> and <strong class="highlight-text">{{ collections.postStats.totalCodeBlockCount }} code samples</strong>.</p>
|
||||
<p>Posts have, on average, <strong class="highlight-text">{{ collections.postStats.avgWordCount | round }} words</strong> and a gap of <strong class="highlight-text">{{ collections.postStats.avgDays | round }} days</strong> between them.</p>
|
||||
<p><strong>Top tags</strong></p>
|
||||
{% render "partials/tags.liquid", tags:collections.tagsSortedByCount %}
|
||||
{% render "partials/widgets/tags.liquid", tags:collections.tagsSortedByCount %}
|
||||
<p><strong>Popular posts</strong></p>
|
||||
<ol class="link-list">
|
||||
{% assign posts = collections.posts | getPopularPosts: analytics %}
|
||||
|
@ -21,6 +21,6 @@ permalink: /stats.html
|
|||
{% endfor %}
|
||||
</ol>
|
||||
<p><strong>Posts by year</strong></p>
|
||||
{% render "partials/post-graph.liquid", postYears: collections.postStats.years %}
|
||||
{% render "partials/widgets/post-graph.liquid", postYears: collections.postStats.years %}
|
||||
<p><strong>Post distribution graphs</strong></p>
|
||||
{%- postGraph collections.posts -%}
|
Reference in a new issue