Open external links in new tabs by default

This commit is contained in:
George Cushen 2016-12-18 01:45:36 +00:00
commit 6616d46eb3
2 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,8 @@ disqusShortname = ""
# Enable analytics by entering your Google Analytics tracking ID
googleAnalytics = ""
[blackfriday]
hrefTargetBlank = true
[params]
name = "Lena Smith"

View file

@ -22,7 +22,7 @@
{{ range $.Site.Params.social }}
{{ $pack := or .icon_pack "fa" }}
<li>
<a href="{{ .link | safeURL }}">
<a href="{{ .link | safeURL }}" target="_blank">
<i class="{{ $pack }} {{ $pack }}-{{ .icon }} big-icon"></i>
</a>
</li>