mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
Make templates compatible with StrictUndefined
Dactyl v0.8.0 required
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<div class="curated-links">
|
||||
<ul>
|
||||
{% for link in currentpage.useful_background %}
|
||||
{% set linkpage = pages|selectattr("html", "equalto", link)|first %}
|
||||
{% set linkpage = pages|selectattr("html", 'defined_and_equalto', link)|first %}
|
||||
<li><a href="{{linkpage.html}}">{{linkpage.name}}</a></li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
|
||||
Reference in New Issue
Block a user