chore: refactor includes to render
This commit is contained in:
parent
87a4c5bd78
commit
f162f04a6e
21 changed files with 119 additions and 142 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: main
|
||||
---
|
||||
{% include "partials/header.liquid" %}
|
||||
{% render "partials/header.liquid", site: site %}
|
||||
<article class="h-entry" data-pagefind-body>
|
||||
<h2 class="p-name text-xl md:text-2xl font-black leading-tight dark:text-gray-200 pt-8" data-pagefind-meta="title">{{ title }}</h2>
|
||||
<span class="p-author h-card hidden">{{ site.title }}</span>
|
||||
|
@ -11,7 +11,7 @@ layout: main
|
|||
{{ content }}
|
||||
</div>
|
||||
</article>
|
||||
{% include "partials/post-tags.liquid" %}
|
||||
{% include "partials/webmentions.liquid" %}
|
||||
{% include "partials/author.liquid" %}
|
||||
{% include "partials/popular-posts.liquid" %}
|
||||
{% render "partials/post-tags.liquid", tags: tags %}
|
||||
{% render "partials/webmentions.liquid", webmentions: webmentions %}
|
||||
{% render "partials/author.liquid", site: site %}
|
||||
{% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %}
|
Reference in a new issue