diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-06-28 20:30:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-28 20:30:09 +0200 |
| commit | 3c95af038078d31db2927a3302498d354538592f (patch) | |
| tree | 728def444196aafd1c719a526854601007825e64 /searx/templates/simple/base.html | |
| parent | 249df41a2a52df2fe95d3882239af1c85dec1f4f (diff) | |
| parent | 0801f9a24e0bcdab85c7ce8ae82de97dad5ecd50 (diff) | |
Merge pull request #1369 from dalf/links-help-donate
Theme : add links to a donation page and the about page.
Diffstat (limited to 'searx/templates/simple/base.html')
| -rw-r--r-- | searx/templates/simple/base.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index c40183fdd..05662e1d2 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -40,10 +40,18 @@ </div> {% endif %} - {% block linkto_preferences %} - {% from 'simple/icons.html' import icon_big %} - <nav id="linkto_preferences"><a href="{{ url_for('preferences') }}" aria-label="{{ _('preferences') }}">{{ icon_big('menu-outline') }}</a></nav> - {% endblock %} + <nav id="links_on_top"> + {%- from 'simple/icons.html' import icon_big -%} + {%- block linkto_about -%} + <a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('help-circle-outline') }}<span>{{ _('About') }}</span></a> + {%- endblock -%} + {%- block linkto_donate -%} + <a href="{{ url_for('info', pagename='donate') }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a> + {%- endblock -%} + {%- block linkto_preferences -%} + <a href="{{ url_for('preferences') }}" aria-label="{{ _('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}</a> + {%- endblock -%} + </nav> {% block header %} {% endblock %} {% block content %} |