mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-23 00:39:47 +00:00
12 lines
474 B
HTML
12 lines
474 B
HTML
{% assign posts = include.posts | where_exp: "post", "post.hidden != true" %}
|
|
<div class="page__related">
|
|
{% include before-related.html %}
|
|
<h2 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h2>
|
|
<div class="grid__wrapper">
|
|
{% for post in posts limit:4 %}
|
|
{% if post.id == page.id %}{% continue %}{% endif %}
|
|
{% include archive-single.html type="grid" %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|