Skip to content

Commit 9cd2972

Browse files
committed
Add external link icon to FiveJS story titles
1 parent bcd8477 commit 9cd2972

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

views/news/index.jade

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ block content
5858
.bucket-content
5959
h2.h.h--3
6060
a.externalLink.tct.twb(href=story.url)
61-
= story.title
61+
= story.title
6262
- iconPartial = { name: 'external', className: 'externalLink-icon', size: 16 }
6363
include /views/partials/_icon
6464
p.tcs.tfh
@@ -101,7 +101,10 @@ block content
101101
li.list-item
102102
article
103103
h2.h.h--4
104-
a.tct.twb(href=story.url)= story.title
104+
a.externalLink.tct.twb(href=story.url)
105+
= story.title
106+
- iconPartial = { name: 'external', className: 'externalLink-icon', size: 14 }
107+
include /views/partials/_icon
105108
p.mbf.tss.
106109
#{story.body}
107110

0 commit comments

Comments
 (0)