Remove header tags in footer for proper semantics

This commit is contained in:
kez 2023-11-30 15:40:50 +01:00
parent cb9c5cae79
commit d5bd84e168

View File

@ -62,9 +62,10 @@
{% if config.base_url != "https://donate.torproject.org/" %}
{% set link = bag('links', this.alt, 'donate') %}
{% if link %}
<a href="{{ link }}" title="{{ _("Donate") }}"><h5><span class="badge badge-warning p-2 mt-2">{{ _("Donate Now") }}</span></h5></a>
<a href="{{ link }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2 mt-2 h5">{{ _("Donate Now") }}</span></a>
{% else %}
<a href="https://www.torproject.org/donate/{{ this.alt }}" title="{{ _("Donate") }}"><h4><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h4></a>
<a href="https://www.torproject.org/donate/{{ this.alt }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2 h4">{{ _("Donate Now") }}</span></a>
{% endif %}
{% endif %}
{% endif %}
</div>