mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
Open external links in new tabs by default
This commit is contained in:
parent
bddf9c07bb
commit
6616d46eb3
2 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,8 @@ disqusShortname = ""
|
|||
# Enable analytics by entering your Google Analytics tracking ID
|
||||
googleAnalytics = ""
|
||||
|
||||
[blackfriday]
|
||||
hrefTargetBlank = true
|
||||
|
||||
[params]
|
||||
name = "Lena Smith"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue