Skip to content

Commit

Permalink
Fix for broken /plugins/ links
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jun 18, 2023
1 parent daf1cb3 commit 3ac454e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ <h2>Latest releases</h2>
<h3>{{ prettydate(row["released_at"]) }}</h3>
{% set ns.current_date = prettydate(row["released_at"]) %}
{% endif %}
<h4><a href="{% if row["release_url"] %}{{ row["release_url"] }}{% else %}/plugins/{{ row["name"] }}{% endif %}">{{ row["name"] }} {{ row["version"]}}</a>
<h4><a href="{% if row["release_url"] %}{{ row["release_url"] }}{% else %}https://pypi.org/project/{{ row["name"] }}/{% endif %}">{{ row["name"] }} {{ row["version"]}}</a>
{% if row["pypi_summary"] != ns.current_pypi_summary and row["pypi_summary"] %}
<span style="font-weight: normal; color: #666; font-size: 0.9em;"> - {{ row["pypi_summary"] }}</span>
{% set ns.current_pypi_summary = row["pypi_summary"] %}
Expand Down

0 comments on commit 3ac454e

Please sign in to comment.