diff options
author | Jesús <heckyel@hyperbola.info> | 2021-05-14 13:05:56 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-05-14 13:05:56 -0500 |
commit | 4b2675b22abcc75c5b23c5412233c33c705801c7 (patch) | |
tree | 442ce4c0a7f29011048847af19222eb519c2f1c9 | |
parent | 0e23b3ec7d3b4fa6ad9f48043db1c65250157413 (diff) | |
download | cl-4b2675b22abcc75c5b23c5412233c33c705801c7.tar.lz cl-4b2675b22abcc75c5b23c5412233c33c705801c7.tar.xz cl-4b2675b22abcc75c5b23c5412233c33c705801c7.zip |
Open social links in new tab
-rw-r--r-- | cl-theme/templates/base.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cl-theme/templates/base.html b/cl-theme/templates/base.html index 2bb3e62..4a8c332 100644 --- a/cl-theme/templates/base.html +++ b/cl-theme/templates/base.html @@ -224,7 +224,7 @@ <!-- header nav content --> <div class="navbar is-social-center" itemscope itemtype="https://schema.org/FollowAction"> - <a class="navbar-item" href="{{ SOCIAL['diaspora'] }}" itemprop="followee"> + <a class="navbar-item" href="{{ SOCIAL['diaspora'] }}" itemprop="followee" rel="noopener noreferrer" target="_blank"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora"/> @@ -232,7 +232,7 @@ </svg> </span> </a> - <a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}" itemprop="followee"> + <a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}" itemprop="followee" rel="noopener noreferrer" target="_blank"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial"/> @@ -240,7 +240,7 @@ </svg> </span> </a> - <a class="navbar-item" href="{{ SOCIAL['pump'] }}" itemprop="followee"> + <a class="navbar-item" href="{{ SOCIAL['pump'] }}" itemprop="followee" rel="noopener noreferrer" target="_blank"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#pump"/> @@ -248,7 +248,7 @@ </svg> </span> </a> - <a class="navbar-item" href="{{ SOCIAL['mastodon'] }}" itemprop="followee" rel="me"> + <a class="navbar-item" href="{{ SOCIAL['mastodon'] }}" itemprop="followee" rel="me noopener noreferrer" target="_blank"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodon"/> @@ -256,7 +256,7 @@ </svg> </span> </a> - <a class="navbar-item" href="{{ SOCIAL['pixelfed'] }}" itemprop="followee"> + <a class="navbar-item" href="{{ SOCIAL['pixelfed'] }}" itemprop="followee" rel="noopener noreferrer" target="_blank"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#pixelfed"/> @@ -264,7 +264,7 @@ </svg> </span> </a> - <a class="navbar-item" href="{{ SOCIAL['peertube'] }}" itemprop="followee"> + <a class="navbar-item" href="{{ SOCIAL['peertube'] }}" itemprop="followee" rel="noopener noreferrer" target="_blank"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#peertube"/> @@ -272,7 +272,7 @@ </svg> </span> </a> - <a class="navbar-item" href="{{ SOCIAL['mediagoblin'] }}" itemprop="followee"> + <a class="navbar-item" href="{{ SOCIAL['mediagoblin'] }}" itemprop="followee" rel="noopener noreferrer" target="_blank"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mediagoblin"/> @@ -280,7 +280,7 @@ </svg> </span> </a> - <a class="navbar-item" href="{{ SOCIAL['matrix'] }}" itemprop="followee"> + <a class="navbar-item" href="{{ SOCIAL['matrix'] }}" itemprop="followee" rel="noopener noreferrer" target="_blank"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#matrix"/> |