diff options
author | Giuseppe Pignataro <rogepix@gmail.com> | 2019-02-26 18:04:00 +0300 |
---|---|---|
committer | Giuseppe Pignataro <rogepix@gmail.com> | 2019-02-26 18:04:00 +0300 |
commit | 09740d24898c6d553236c482e64ff5abfdcd164b (patch) | |
tree | 481fe0ac05af8e1098e92886d7fe91ff98a8f474 /layouts/partials | |
parent | 97496833bb967b0ea1b459bf19cc1f930917e14e (diff) |
Minor changes
Added noreffer and now open social links in a new tab
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/social.html | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 327009d..d400554 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -1,57 +1,54 @@ {{ with .Site.Params.Social.Github }} -<a href="https://github.com/{{.}}" target="_blank" rel="me noopener"><i class="iconfont icon-github"></i></a> +<a href="https://github.com/{{.}}" target="_blank" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-github"></i></a> {{ end }} {{ with .Site.Params.Social.LinkedIn }} -<a href="https://linkedin.com/in/{{.}}" target="_blank" rel="me noopener"><i class="iconfont icon-linkedin"></i></a> +<a href="https://linkedin.com/in/{{.}}" target="_blank" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-linkedin"></i></a> {{ end }} {{ with .Site.Params.Social.Twitter }} -<a href="https://twitter.com/{{.}}" target="_blank" rel="me noopener"><i class="iconfont icon-twitter"></i></a> +<a href="https://twitter.com/{{.}}" target="_blank" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-twitter"></i></a> {{ end }} {{ with .Site.Params.Social.Instagram }} -<a href="https://www.instagram.com/{{.}}/" target="_blank" rel="me noopener"><i class="iconfont icon-instagram"></i></a> +<a href="https://www.instagram.com/{{.}}/" target="_blank" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-instagram"></i></a> {{ end }} {{ with .Site.Params.Social.Email}} -<a href="mailto:{{.}}" rel="me noopener"><i class="iconfont icon-mail"></i></a> +<a href="mailto:{{.}}" rel="me noopener noreffer"><i class="iconfont icon-mail" target="_blank"></i></a> {{ end }} {{ with .Site.Params.Social.Facebook}} -<a href="https://facebook.com/{{.}}" rel="me noopener"><i class="iconfont icon-facebook"></i></a> +<a href="https://facebook.com/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-facebook"></i></a> {{ end }} {{ with .Site.Params.Social.Telegram}} -<a href="https://t.me/{{.}}" rel="me noopener"><i class="iconfont icon-telegram-plane"></i></a> +<a href="https://t.me/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-telegram-plane"></i></a> {{ end }} {{ with .Site.Params.Social.Medium}} -<a href="https://medium.com/{{.}}" rel="me noopener"><i class="iconfont icon-medium"></i></a> +<a href="https://medium.com/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-medium"></i></a> {{ end }} {{ with .Site.Params.Social.Gitlab}} -<a href="https://gitlab.com/{{.}}" rel="me noopener"><i class="iconfont icon-gitlab"></i></a> +<a href="https://gitlab.com/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-gitlab"></i></a> {{ end }} {{ with .Site.Params.Social.Youtube}} -<a href="https://www.youtube.com/user/{{.}}" rel="me noopener"><i class="iconfont icon-youtube"></i></a> +<a href="https://www.youtube.com/user/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-youtube"></i></a> {{ end }} {{ with .Site.Params.Social.Tumblr}} -<a href="https://{{.}}.tumblr.com" rel="me noopener"><i class="iconfont icon-tumblr"></i></a> +<a href="https://{{.}}.tumblr.com" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-tumblr"></i></a> {{ end }} {{ with .Site.Params.Social.Quora}} -<a href="https://www.quora.com/profile/{{.}}" rel="me noopener"><i class="iconfont icon-quora"></i></a> +<a href="https://www.quora.com/profile/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-quora"></i></a> {{ end }} {{ with .Site.Params.Social.Keybase}} -<a href="https://keybase.io/{{.}}" rel="me noopener"><i class="iconfont icon-keybase"></i></a> +<a href="https://keybase.io/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-keybase"></i></a> {{ end }} {{ with .Site.Params.Social.Pinterest}} -<a href="https://www.pinterest.com/{{.}}" rel="me noopener"><i class="iconfont icon-pinterest"></i></a> +<a href="https://www.pinterest.com/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-pinterest"></i></a> {{ end }} {{ with .Site.Params.Social.Reddit}} -<a href="https://www.reddit.com/user/{{.}}" rel="me noopener"><i class="iconfont icon-reddit"></i></a> +<a href="https://www.reddit.com/user/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-reddit"></i></a> {{ end }} {{ with .Site.Params.Social.Codepen}} -<a href="https://codepen.io/{{.}}" rel="me noopener"><i class="iconfont icon-codepen"></i></a> +<a href="https://codepen.io/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-codepen"></i></a> {{ end }} {{ with .Site.Params.Social.Bitbucket}} -<a href="https://bitbucket.org/{{.}}" rel="me noopener"><i class="iconfont icon-bitbucket"></i></a> +<a href="https://bitbucket.org/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-bitbucket"></i></a> {{ end }} {{ with .Site.Params.Social.Stackoverflow}} -<a href="https://stackoverflow.com/users/{{.}}" rel="me noopener"><i class="iconfont icon-stack-overflow"></i></a> -{{ end }} - - - +<a href="https://stackoverflow.com/users/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-stack-overflow"></i></a> +{{ end }}
\ No newline at end of file |