Fix broken links from JA updates

This commit is contained in:
mDuo13
2022-11-04 14:57:10 -07:00
parent 9441a64e7d
commit 51e383bfa8
5 changed files with 16 additions and 13 deletions

View File

@@ -68,7 +68,7 @@
<h2 class="h4">{% trans %}Article types{% endtrans %}</h2>
<h6 class="eyebrow mb-3">{% trans %}Dive In{% endtrans %}</h6>
</div>
{% set curated_cards = currentpage.children|selectattr("html","ne","by-label.html")|selectattr("html","ne","faq.html")|map(attribute="html")|list %}
{% set curated_cards = currentpage.children|selectattr("html","ne","by-label.html")|selectattr("html","ne","faq.html")|selectattr("html","ne","https://learn.xrpl.org/")|selectattr("html","ne","dev-tools.html")|map(attribute="html")|list %}
{% set mobile_cols = 1 %}
{% set show_blurbs = True %}
{% include 'component-curated-cards.html.jinja' %}
@@ -118,7 +118,7 @@
{% set depth = 6 %}
{% set show_blurbs = False %}
<div class="col-md-6 mt-20">
<a href="{{target.prefix}}{{page.html}}"><h5 class="mb-3">{{page.name}}</h5></a>
<a href="{% if '//' not in page.html %}{{target.prefix}}{% endif %}{{page.html}}"><h5 class="mb-3">{{page.name}}</h5></a>
{% include 'children.html' %}
</div>
{% endfor %}