1
0
mirror of https://github.com/Damillora/Yuika synced 2024-09-28 19:52:50 +00:00

Fix related posts layout

This commit is contained in:
Damillora 2019-11-14 11:37:24 +07:00
parent 8f2affea9d
commit 8bb37f480f

View File

@ -77,7 +77,7 @@
{{/next_post}} {{/next_post}}
</div> </div>
</div> </div>
<div class="mx-4 my-4 w-full"> <div class="mx-auto px-4 my-4 w-full">
{{#if primary_tag}} {{#if primary_tag}}
{{#get "posts" filter="tags:{{primary_tag.slug}}+id:-{{id}}" limit="3" as |related_posts|}} {{#get "posts" filter="tags:{{primary_tag.slug}}+id:-{{id}}" limit="3" as |related_posts|}}
{{#if related_posts}} {{#if related_posts}}