summaryrefslogtreecommitdiff
path: root/ibb
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-02-04 11:53:33 -0800
committerBen Sima <ben@bsima.me>2019-02-04 11:53:33 -0800
commitdb2e4263fdadb34df34de891450fcebc06c2d294 (patch)
treeee025951df80a17443509f9d133861da0cb0f823 /ibb
parent786e22174a52df46af18a9220aa8ecd66e76dec8 (diff)
Open external links in new tab
Diffstat (limited to 'ibb')
-rw-r--r--ibb/Main.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/ibb/Main.hs b/ibb/Main.hs
index 5937b96..2c5bb1b 100644
--- a/ibb/Main.hs
+++ b/ibb/Main.hs
@@ -103,9 +103,11 @@ displayPerson person = [shamlet|
<h4>#{_name person}
<ul>
$forall book <- (_books person)
- <li><a .text-dark href="https://www.amazon.com/dp/#{_amznref book}">#{_title book}</a>
+ <li>
+ <a target=_blank .text-dark href="https://www.amazon.com/dp/#{_amznref book}">
+ #{_title book}
<div .card-footer>
- <a .btn href=#{_website person}>Personal Website
+ <a target=_blank .btn href=#{_website person}>Personal Website
|]
homepage :: Markup