mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2026-12-03 04:38:25 +08:00
refactor: refactor to 11ty to support Tencent Cloud EdgeOne Maker
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{% 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>
|
||||
Reference in New Issue
Block a user