chore: simplify ogi

This commit is contained in:
Cory Dransfeldt 2024-03-13 16:35:41 -07:00
parent 7bffc62335
commit 69e1b950e7
No known key found for this signature in database
26 changed files with 6 additions and 18 deletions

View file

@ -1,8 +1,8 @@
---
title: Statistics
layout: default
description: 'Post stats and other information about my site.'
permalink: /stats.html
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>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>