mirror of
https://gitlab.com/veilid/veilid-dot-com.git
synced 2025-07-20 04:59:18 -04:00
Adding in the Donate button and fixing two links
This commit is contained in:
parent
f5ef8b0280
commit
e813ac6bb8
4 changed files with 14 additions and 3 deletions
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
title: Donate
|
||||
description: Help support Veilid by gifting a tax-deductible donation
|
||||
menu:
|
||||
main:
|
||||
weight: 2
|
||||
---
|
||||
|
||||
<div class="row g-5">
|
||||
|
|
|
@ -4,7 +4,7 @@ description: Veilid is an open-source, distributed application framework.
|
|||
layout: frontpage
|
||||
menu:
|
||||
main:
|
||||
weight: 10
|
||||
weight: 1
|
||||
---
|
||||
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
<div class="links">
|
||||
<ul class="list-inline no-comma m-0">
|
||||
<li class="list-inline-item"><a href="#content">Skip to Content</a></li>
|
||||
<li class="list-inline-item"><a href="/web-text"><img src="/img/fonts.svg" alt="Icon for Font Size" class="d-inline"><span class="d-none d-md-inline">Customize Text</span></a></li>
|
||||
<li class="list-inline-item"><a href="/translations"><img src="/img/translate.svg" alt="Icon for Translations" class="d-inline"><span class="d-none d-md-inline">Translations</span></a></li>
|
||||
<li class="list-inline-item"><a href="/accessibility/web-text"><img src="/img/fonts.svg" alt="Icon for Font Size" class="d-inline"><span class="d-none d-md-inline">Customize Text</span></a></li>
|
||||
<li class="list-inline-item"><a href="/accessibility/translations"><img src="/img/translate.svg" alt="Icon for Translations" class="d-inline"><span class="d-none d-md-inline">Translations</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -6,11 +6,19 @@
|
|||
{% if loop.index == 1 %}
|
||||
{% else %}
|
||||
{% set active_link = (this_url in here) %}
|
||||
{% if "donate" in this_url %}
|
||||
<li class="nav-item">
|
||||
<a href="{{ this_url }}" class="btn btn-success">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="nav-item">
|
||||
<a href="{{ this_url }}" class="nav-link{% if active_link %} active{% endif %}">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{%- endfor ~%}
|
||||
</ol>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue