Skip to content

Commit

Permalink
Fix for /tools page for tools with now PyPI package, refs #98
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Apr 8, 2022
1 parent ee3fc29 commit 247f791
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/_directory.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ <h3><a href="/{% if row["is_plugin"] %}plugins{% else %}tools{% endif %}/{{ row[
{% if row["usesCustomOpenGraphImage"] %}
<img style="max-width: 100%" src="{{ row["openGraphImageUrl"] }}" alt="Screenshot of {{ row["full_name"] }}">
{% endif %}
<p>Latest: <a href="https://github.com/{{ row["full_name"] }}/releases/tag/{{ row["tag_name"] }}">{{ row["tag_name"] }}</a> on {{ prettydate(row["latest_release_at"]) }}</p>
{% if row["latest_release_at"] %}
<p>Latest: <a href="https://github.com/{{ row["full_name"] }}/releases/tag/{{ row["tag_name"] }}">{{ row["tag_name"] }}</a> on {{ prettydate(row["latest_release_at"]) }}</p>
{% endif %}
</div>
{% else %}
<p>No matches found</p>
Expand Down

0 comments on commit 247f791

Please sign in to comment.