Skip to content

Commit 2cbaec4

Browse files
author
Scott Straughan
committed
Add ability to add referral link.
1 parent 921fbfb commit 2cbaec4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

_layouts/update.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ <h2><span class="material-icons">event</span> {{page.date | date: "%d/%m/%Y" }}<
3434
</header>
3535
<article>
3636
{{page.content}}
37+
38+
{% if page.link %}
39+
<a class="button image-button"
40+
href="{{ page.link }}"
41+
rel="noopener"
42+
target="_blank"
43+
title="Continue Reading on Linked Site">
44+
<i class="material-icons">link</i> Continue Reading...
45+
</a>
46+
{% endif %}
3747
</article>
3848
</div>
3949
<div>

0 commit comments

Comments
 (0)