target="_blank" post links

pull/1/head
Starbeamrainbowlabs 2022-08-27 18:02:49 +01:00
parent 5821fc6824
commit d120444634
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2
1 changed files with 3 additions and 3 deletions

View File

@ -3,14 +3,14 @@
{% for post in pagination.items %}
<article class="post">
<h2><a href="{{ post.link }}">{{ post.title | striphtml }}</a></h2>
<h2><a href="{{ post.link }}" target="_blank">{{ post.title | striphtml }}</a></h2>
<div class="post-image {% if post.media_image_notfound %}invert-when-dark{% endif %}" style="background: url({% asset post.media_image %}); {% if post.media_image_notfound %}background-size: contain !important;{% endif %}"></div>
<div class="post-extract">
{{ post.description | striphtml }}…
<div><a href="{{ post.link }}">Read more</a></div>
<div><a href="{{ post.link }}" target="_blank">Read more</a></div>
</div>
<div class="post-footer">
<span><a href="{{ post.parent.link | htmlentities }}"><img class="large-icon" src="{{ post.author_image }}" alt="{{ post.author_name | htmlentities }} avatar" aria-hidden="true" /> {{ post.author_name | htmlentities }}</a></span>
<span><a href="{{ post.parent.link | htmlentities }}" class="large-icon" src="{{ post.author_image }}" alt="{{ post.author_name | htmlentities }} avatar" aria-hidden="true" /> {{ post.author_name | htmlentities }}</a></span>
<span class="float right">
<time datetime="{{ post.pubdate_iso }}">{{ post.pubdate_display | htmlentities }}</time>
<img class="medium-icon-abs invert-when-dark" src="{% asset 'images/clock.svg' %}" alt="Clock icon" aria-hidden="hidden" />