chore: display consistency
This commit is contained in:
parent
012c50483a
commit
404315c633
1 changed files with 2 additions and 2 deletions
|
@ -7,11 +7,11 @@ 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>
|
||||
<h2>Popular posts</h2>
|
||||
<ol>
|
||||
<ol class="link__list">
|
||||
{% assign posts = collections.posts | getPopularPosts: analytics %}
|
||||
{% for post in posts limit: 10 %}
|
||||
<li>
|
||||
<a href="{{post.url}}" title="{{ post.data.title | escape}}">
|
||||
<a class="no-underline" href="{{post.url}}" title="{{ post.data.title | escape}}">
|
||||
{{ post.data.title }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
Reference in a new issue