Skip to content

Commit

Permalink
Limit related guides to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Jan 9, 2024
1 parent 6f131af commit 5159879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _layouts/guides.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h3>On the same extensions</h3>
<div class="grid__item width-6-12 width-12-12-m">
<h3>On the same topics</h3>
<ul class="related-content">
{% for guide in relations[guide_url].sameTopics limit:10 -%}
{% for guide in relations[guide_url].sameTopics limit:20 -%}
{% assign is_external_guide = guide.url | startswith: 'http' %}
{% if is_external_guide %}
{% assign related_guide_url = include.url %}
Expand All @@ -99,4 +99,4 @@ <h3>On the same topics</h3>
{% endif -%}
</div>
{% endif -%}
</div>
</div>

0 comments on commit 5159879

Please sign in to comment.