forked from rDrama/rDrama
fix link opening lol
parent
16e23e6f54
commit
2b4634f857
|
@ -37,9 +37,10 @@
|
||||||
{% set alt = ['/h/', sub, 'banner']|join %}
|
{% set alt = ['/h/', sub, 'banner']|join %}
|
||||||
{% elif SITE_NAME == "rDrama" %}
|
{% elif SITE_NAME == "rDrama" %}
|
||||||
{% set href = "https://secure.transequality.org/site/Donation2?df_id=1480" %}
|
{% set href = "https://secure.transequality.org/site/Donation2?df_id=1480" %}
|
||||||
|
{% set expand = false %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ macros.banner(src, href, alt) }}
|
{{ macros.banner(src, href, alt, expand) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% macro banner(src, href, alt) %}
|
{% macro banner(src, href, alt, expand) %}
|
||||||
<a href="{{href|default(src)}}">
|
<a href="{{href|default(src)}}" rel="nofollow noopener">
|
||||||
<img onclick = "expandDesktopImage()" alt="{{alt|default('site banner')}}" src="{{src|default(live_banner())}}">
|
<img onclick="{{expand|default('expandDesktopImage()')}}" alt="{{alt|default('site banner')}}" src="{{src|default(live_banner())}}">
|
||||||
</a>
|
</a>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue