Skip to content

Commit 61f9f29

Browse files
committed
Generate toolforge.org URLs
Bug: T257318
1 parent d5d0443 commit 61f9f29

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

data/templates/tool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h3 class="card-title">
2323
{% if info.url %}
2424
<a href="{{ info.url }}">{{ info.title|default(tool.name) }}</a>
2525
{% elseif tool.toolinfo|length == 1 and active %}
26-
<a href="/{{ tool.name }}/">{{ tool.name }}</a>
26+
<a href="https://{{ tool.name }}.toolforge.org/">{{ tool.name }}</a>
2727
{% else %}
2828
{{ info.title|default(tool.name) }}
2929
{% endif %}

data/templates/tools.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h4 class="card-title">
3838
{% if info.url %}
3939
<a href="{{ info.url }}">{{ info.title|default(tool.name) }}</a>
4040
{% elseif tool.toolinfo|length == 1 and active[tool.name] %}
41-
<a href="/{{ tool.name }}/">{{ tool.name }}</a>
41+
<a href="https://{{ tool.name }}.toolforge.org/">{{ tool.name }}</a>
4242
{% else %}
4343
{{ info.title|default(tool.name) }}
4444
{% endif %}

0 commit comments

Comments
 (0)