Commit de51a24e authored by peterh-gr's avatar peterh-gr
Browse files

Different footer menu links

We want to have the FAQ and Privacy Policy linked in the footer instead
of the standard links.
parent e54f65df
../lego/databags/menu_footer.ini
\ No newline at end of file
[donor-faq]
path = https://donate.torproject.org/donor-faq
label = Donor FAQ
[privacy-policy]
path = https://donate.torproject.org/privacy-policy
label = Donor Privacy Policy
......@@ -59,12 +59,6 @@
</li>
{% endfor %}
</ul>
{% 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>
{% 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>
{% endif %}
</div>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment