forked from yevi.org/Ghost_Ruby_Theme
6350a2de33
* Add Alto theme * Remove unnecessary specificity from link hover selector * Add Dope theme * Refine Dope theme * Remove unnecessary selectors from dark mode styles * Add Ruby theme * Add branding+navigation header style * Post/page template cleanup for Ruby theme * Remove jQuery dependency from Ruby * Photoswipe for Ruby * package.json cleanup * Add Ease theme * Ease theme cleanup * Add Edge theme * Add callback to pagination script * Rebuild assets * Refresh Wave * Wave theme pagination * Remove unused settings * Add tag/author pages to Wave * Remove unnecessary dependencies * Post meta spacing * Dawn theme * Edition theme * Cleanup body class * Lint * More cleanup * London theme * Ease theme search cleanup * Minor bug fixes * Remove jQuery dependency from the custom search script * Put back commented functions * Update posts per page to make it consistent with homepage section posts * Alto theme update * Rebuild assets * Remove unused theme setting * Unnecessary rule * Start adding search support * Search support to more themes * Remove starter * Add Alto theme workflow
16 lines
555 B
Handlebars
16 lines
555 B
Handlebars
<div class="related-wrapper gh-outer">
|
|
{{#get "posts" limit="4" filter="tags:[{{post.tags}}]+id:-{{post.id}}" include="tags,authors" as |related|}}
|
|
{{#if related}}
|
|
<section class="related-posts gh-inner">
|
|
<h3 class="related-title">
|
|
<span class="text">You might also like...</span>
|
|
</h3>
|
|
<div class="post-feed">
|
|
{{#foreach related}}
|
|
{{> "loop"}}
|
|
{{/foreach}}
|
|
</div>
|
|
</section>
|
|
{{/if}}
|
|
{{/get}}
|
|
</div> |