diff options
Diffstat (limited to 'cl-theme/templates/base.html')
-rw-r--r-- | cl-theme/templates/base.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cl-theme/templates/base.html b/cl-theme/templates/base.html index 8785276..402ec64 100644 --- a/cl-theme/templates/base.html +++ b/cl-theme/templates/base.html @@ -181,7 +181,7 @@ <div class="card-content"> <div class="content social"> <div class="navbar is-social-center"> - <a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}"> + <a class="navbar-item" {% if article.gnusocial %}href="{{ article.gnusocial }}" rel="me noopener noreferrer" target="_blank" {% else %}href="#"{% endif %}> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" /> @@ -189,7 +189,7 @@ </svg> </span> </a> - <a class="navbar-item" href="{{ SOCIAL['diaspora'] }}"> + <a class="navbar-item" {% if article.diaspora %}href="{{ article.diaspora }}" rel="me noopener noreferrer" target="_blank" {% else %}href="#"{% endif %}> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" /> @@ -197,7 +197,7 @@ </svg> </span> </a> - <a class="navbar-item" href="{{ SOCIAL['mastodon'] }}"> + <a class="navbar-item" {% if article.mastodom %}href="{{ article.mastodom }}" rel="me noopener noreferrer" target="_blank" {% else %}href="#"{% endif %}> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodon" /> |