mirror of
https://github.com/torproject/lego.git
synced 2024-11-26 19:20:22 +00:00
Merge branch 'tpoi336-donate-link' into 'main'
Remove h4 tag in donate link for proper semantics Closes tpo#336 See merge request tpo/web/lego!90
This commit is contained in:
commit
cb9c5cae79
@ -15,9 +15,9 @@
|
||||
|
||||
{% set link = bag('links', this.alt, 'donate') %}
|
||||
{% if link %}
|
||||
<h4 class="pl-2 pr-2"><a href="{{ link }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a></h4>
|
||||
<a href="{{ link }}" title="{{ _("Donate") }}" class="px-2 h4"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a>
|
||||
{% else %}
|
||||
<h4 class="pl-2 pr-2"><a href="https://www.torproject.org/donate/{{ this.alt }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a></h4>
|
||||
<a href="https://www.torproject.org/donate/{{ this.alt }}" title="{{ _("Donate") }}" class="px-2 h4"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a>
|
||||
{% endif %}
|
||||
|
||||
<label for="nav-toggle">
|
||||
|
Loading…
Reference in New Issue
Block a user