make guide links open in new tabs

This commit is contained in:
Invinceaman 2020-10-22 13:19:34 -04:00
parent 19dfb56afb
commit 7eee29008b

View File

@ -2,7 +2,7 @@
<main> <main>
<h1><a href="/">All</a> / <a href="/{{subject.url}}">{{subject.name}}</a> / <a href="/{{subject.url}}/{{course.url}}">{{course.name}}</a></h1> <h1><a href="/">All</a> / <a href="/{{subject.url}}">{{subject.name}}</a> / <a href="/{{subject.url}}/{{course.url}}">{{course.name}}</a></h1>
{% for guide in guides %} {% for guide in guides %}
<p class="item"><a href="{{guide.url}}"/>{% if guide.teacher %}<span class="teacher">[{{guide.teacher}}] </span>{% endif %}{{ guide.name }}</a></p> <p class="item"><a href="{{guide.url}}" target="_blank"/>{% if guide.teacher %}<span class="teacher">[{{guide.teacher}}] </span>{% endif %}{{ guide.name }}</a></p>
{% endfor %} {% endfor %}
</main> </main>
{% endblock %} {% endblock %}