Add image variant
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
12
partials/image/more.hbs
Normal file
12
partials/image/more.hbs
Normal file
@@ -0,0 +1,12 @@
|
||||
{{#get "posts" limit="all" filter="tags:[{{tags[*].slug}}]+id:-{{id}}" as |related|}}
|
||||
{{#if related}}
|
||||
<section class="related-posts">
|
||||
<div class="post-feed gh-feed">
|
||||
<div class="grid-item grid-sizer"></div>
|
||||
{{#foreach related}}
|
||||
{{> image/loop}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/get}}
|
Reference in New Issue
Block a user