chore: tag updates

This commit is contained in:
Cory Dransfeldt 2024-01-28 16:15:28 -08:00
parent 8adb52d872
commit 24001e787c
No known key found for this signature in database

View file

@ -6,7 +6,7 @@ image: /assets/img/ogi/stats.jpg
--- ---
<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>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>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>
<h2>Popular posts</h2> <strong>Popular posts</strong>
<ol class="link__list"> <ol class="link__list">
{% assign posts = collections.posts | getPopularPosts: analytics %} {% assign posts = collections.posts | getPopularPosts: analytics %}
{% for post in posts limit: 10 %} {% for post in posts limit: 10 %}
@ -17,7 +17,7 @@ image: /assets/img/ogi/stats.jpg
</li> </li>
{% endfor %} {% endfor %}
</ol> </ol>
<h3>Posts by year</h3> <strong>Posts by year</strong>
{% render "partials/post-graph.liquid", postYears: collections.postStats.years %} {% render "partials/post-graph.liquid", postYears: collections.postStats.years %}
<h4>Post distribution graphs</h4> <strong>Post distribution graphs</stron>
{%- postGraph collections.posts -%} {%- postGraph collections.posts -%}