Skip to content

Commit 013784a

Browse files
update example_info to include link to how-to
1 parent 60a3892 commit 013784a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/templates/example_info.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ <h4>{{ title }}</h4>
1515
{% else %}
1616
{{ session["manifest"]["SupportingTexts"]["APIMethodUsed"] | safe }}
1717
{% endif %}
18-
18+
1919
{% for link in example["LinksToAPIMethod"] -%}
2020
<a target='_blank' href="{{ link['Path'] }}">{{ link['PathName'] }}</a>
2121
{% endfor %}
2222
{% endif %}
2323

24-
{% if example["LinkToHowTo"] | length > 0 %}
25-
<a target='_blank' href="{{ example['LinkToHowTo']['Path'] }}">{{ example['LinkToHowTo']['PathName'] }}</a>
24+
{% if example["LinkToHowTo"] | length > 0%}
25+
<p><a target='_blank' href="{{ example['LinkToHowTo'][0]['Path'] }}">{{ example['LinkToHowTo'][0]['PathName'] }}</a></p>
2626
{% endif %}
2727

2828
<p>

0 commit comments

Comments
 (0)