mirror of
https://github.com/nicoburns/blessed-rs
synced 2024-11-26 05:30:17 +00:00
Open crate links in a new tab
This commit is contained in:
parent
870e69142a
commit
310ef5e402
1 changed files with 4 additions and 4 deletions
|
@ -29,8 +29,8 @@
|
|||
|
||||
{% for crate in purpose.recommendations %}
|
||||
<p style="margin: 3px 6px;max-width: 600px">
|
||||
<b><a href="{% if crate.link %}{{ crate.link }}{% else %}https://lib.rs/{{ crate.name }}{% endif %}">{{ crate.name }}</a></b>{% if not crate.link %}
|
||||
<a style="margin-left: 3px;opacity: 0.7;color: #333;text-decoration: none" href="https://docs.rs/{{ crate.name }}"> [docs]</a>
|
||||
<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 %}
|
||||
<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 />
|
||||
{% if crate.notes %}{{ crate.notes | safe }}{% endif %}
|
||||
|
@ -42,8 +42,8 @@
|
|||
<summary style="cursor: pointer"><b><i>See also</i></b> <span style="color: #999">(click to open)</span></summary>
|
||||
{% for crate in purpose.see_also %}
|
||||
<p style="margin: 3px 6px;max-width: 600px">
|
||||
<b><a href="{% if crate.link %}{{ crate.link }}{% else %}https://lib.rs/{{ crate.name }}{% endif %}">{{ crate.name }}</a></b>{% if not crate.link %}
|
||||
<a style="margin-left: 3px;opacity: 0.7;color: #333;text-decoration: none" href="https://docs.rs/{{ crate.name }}"> [docs]</a>
|
||||
<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 %}
|
||||
<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 />
|
||||
{% if crate.notes %}{{ crate.notes | safe }}{% endif %}
|
||||
|
|
Loading…
Reference in a new issue