summaryrefslogtreecommitdiffstats
path: root/_includes
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-28 13:17:10 -0500
committerDrew DeVault <sir@cmpwn.com>2017-12-28 13:17:10 -0500
commit9b8d2057bc4244ad1b2657681fa897622dd65e00 (patch)
tree010616d784a438cd7ed2813d1fc2082d6b8e8a84 /_includes
parent088fd133d217a9af39d3a5518af924276a41160c (diff)
Add whitepaper link
Diffstat (limited to '_includes')
-rw-r--r--_includes/post-stub.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/_includes/post-stub.html b/_includes/post-stub.html
index 83f411b..6cb2ed2 100644
--- a/_includes/post-stub.html
+++ b/_includes/post-stub.html
@@ -4,8 +4,18 @@
{{ include.post.date | date: "%Y-%m-%d" }}
</span>
<span class="title">
+ {% if include.post._url %}
+ <a href="{{ include.post._url }}" target="_blank">
+ {{ include.post.title }}
+ <i class="fa fa-external-link"></i>
+ </a>
+ {% else %}
<a href="{{ include.post.url }}">{{ include.post.title }}</a>
+ {% endif %}
</span>
</h2>
+ {% if include.post._url %}
+ {% else %}
{{ include.post.excerpt }}
+ {% endif %}
</div>