mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2026-11-29 05:48:28 +08:00
13 lines
543 B
HTML
13 lines
543 B
HTML
{% assign locale = include.locale | default: site.locale %}
|
|
{% 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[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 locale=locale type="grid" %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|