article: fix social network support
This commit is contained in:
parent
52af188972
commit
d4a6c2ba82
@ -96,7 +96,7 @@
|
||||
<!-- post footer -->
|
||||
<div class="card-content-footer-small">
|
||||
<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" />
|
||||
@ -104,7 +104,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" />
|
||||
@ -112,7 +112,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" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user