Merge pull request #38 from reynn/main

Correct links to lib.rs
This commit is contained in:
Nico Burns 2022-11-11 15:23:37 +00:00 committed by GitHub
commit 0abb122ee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@
{% for crate in purpose.recommendations %}
<p style="margin: 3px 6px;max-width: 600px">
<b><a target="_blank" href="{% if crate.link %}{{ crate.link }}{% else %}https://lib.rs/{{ crate.name }}{% endif %}">{{ crate.name }}</a></b>{% if not crate.link %}
<b><a target="_blank" href="{% if crate.link %}{{ crate.link }}{% else %}https://lib.rs/crates/{{ crate.name }}{% endif %}">{{ crate.name }}</a></b>{% if not crate.link %}
<a target="_blank" style="margin-left: 3px;opacity: 0.7;color: #333;text-decoration: none" href="https://docs.rs/{{ crate.name }}"> [docs]</a>
{% endif %}
<br />
@ -57,4 +57,4 @@
</tbody>
{% endfor %}
</table>
{% endmacro crate_table %}
{% endmacro crate_table %}