diff options
author | Michael Blum <me@mblum.me> | 2021-12-12 05:47:48 +0300 |
---|---|---|
committer | Michael Blum <me@mblum.me> | 2021-12-12 05:48:34 +0300 |
commit | cd147f75998e92ee861d2cbba5ed3e781147b124 (patch) | |
tree | 29c2a54280f932513df76b0ba65f2b5303e1787a /layouts | |
parent | 28d46ab770aacc32eea5ee0604ca00dd6f7caaa7 (diff) |
added configurable social media icons
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/nav.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 7ee5a93..ef2091c 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -8,10 +8,13 @@ <p class="site-description">{{ .Site.Params.description }}</p> <div class="social-media"> {{if (isset .Site.Params "github")}} - <a href="{{ .Site.Params.github }}"><i class="fab fa-github"></i></a> + <a href="{{ .Site.Params.github }}" target="_blank"><i class="fab fa-github"></i></a> {{end}} {{if (isset .Site.Params "twitter")}} - <a href="{{ .Site.Params.twitter }}"><i class="fab fa-twitter"></i></i></a> + <a href="{{ .Site.Params.twitter }}" target="_blank"><i class="fab fa-twitter"></i></i></a> + {{end}} + {{if (isset .Site.Params "linkedin")}} + <a href="{{ .Site.Params.linkedin }}" target="_blank"><i class="fab fa-linkedin"></i></a> {{end}} </div> </div> |