Permalink
Browse files

tease external blog posts correctly

  • Loading branch information...
Phil Hawksworth
Phil Hawksworth committed Nov 8, 2018
1 parent 08202c6 commit bd6b174b041bde17e58c6f577fb8fdfe3fbc75ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/site/_includes/previous.njk
@@ -8,6 +8,6 @@
{% if previousItem %}
<div class="teaser">
<span>Previously posted:</span>
<a href="{{ previousItem.url | url }}">{{ previousItem.data.title }}</a>
<a href="{% if previousItem.data.externalurl %}{{ previousItem.data.externalurl }}{% else %}{{ previousItem.url | url }}{% endif %}">{{ previousItem.data.title }}</a>
</div>
{% endif %}

0 comments on commit bd6b174

Please sign in to comment.