feat: more performant popular posts
This commit is contained in:
parent
7e3503fbb4
commit
3ef783fd18
11 changed files with 28 additions and 32 deletions
|
@ -22,4 +22,5 @@ schema: blog
|
|||
{{ post.content | markdown }}
|
||||
{% render "partials/posts/blocks.liquid", blocks:post.blocks %}
|
||||
</div>
|
||||
</article>
|
||||
</article>
|
||||
{% render "partials/widgets/addon-links.liquid", popularPosts:collections.popularPosts, links:links %}
|
|
@ -55,4 +55,4 @@ permalink: /search.html
|
|||
<input class="search__form--fallback" type="hidden" placeholder="Search" name="sites" value="coryd.dev">
|
||||
</form>
|
||||
<ul class="search__results hidden"></ul>
|
||||
{% render "partials/widgets/addon-links.liquid", posts:posts, analytics:analytics, links:links %}
|
||||
{% render "partials/widgets/addon-links.liquid", popularPosts:collections.popularPosts, links:links %}
|
Reference in a new issue