searxngRebrandZaclys/searx/static/themes
Martin Fischer 6f0ec7e58f [simple] introduce page_with_header.html template
Previously the preferences & stats templates contained the markup:

<a href="{{ url_for('index') }}"><h1><span>SearXNG</span></h1></a>

There are many things wrong with this:

1. the markup was duplicated

2. the CSS needed to be changed whenever a new page wanted to use this
   header (since the CSS used page-specific selectors)

3. h1 should be reserved for the actual page title
   (e.g. Preferences or Engine stats)

4. the image was set via CSS which also set:

       span { visibility: hidden; }

   which however removes the alternative text from the accessibility
   tree (meaning screen readers will ignore it).

This commit fixes all these problems.
2022-01-30 17:29:21 +01:00
..
__common__ [fix] eslint --fix 2021-12-14 07:31:58 +01:00
oscar [build] /static 2022-01-29 14:44:05 +01:00
simple [simple] introduce page_with_header.html template 2022-01-30 17:29:21 +01:00
.gitattributes [fix] prevent leaflet.{css,js} from polluting git grep results 2022-01-06 14:33:19 +01:00