You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx/templates/simple
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.
3 years ago
..
filters [simple theme] rework select; add safesearch to search and replace / with › in article url 3 years ago
messages [fix] templates: remove unneeded escape \' of single quotation mark 3 years ago
result_templates [fix] lazy loading of <img> tags 3 years ago
404.html Drop Python 2 (2/n): templates 4 years ago
about.html [simple] introduce page_with_header.html template 3 years ago
base.html [simple] introduce page_with_header.html template 3 years ago
categories.html [enh] introduce categories_as_tabs 3 years ago
icons.html [build] /static 3 years ago
index.html [simple theme] update to ion icons 5 and drop webfont 3 years ago
infobox.html [fix] simple-theme templates: polish HTML <img> elements 3 years ago
macros.html [fix] simple theme: don't crash when the checker is enabled 3 years ago
page_with_header.html [simple] introduce page_with_header.html template 3 years ago
preferences.html [simple] introduce page_with_header.html template 3 years ago
results.html Uppercase buttons 3 years ago
search.html [simple theme] rework select; add safesearch to search and replace / with › in article url 3 years ago
simple.spec.txt [enh] add simple theme (WIP) 7 years ago
simple_search.html [simple theme] rework select; add safesearch to search and replace / with › in article url 3 years ago
stats.html [simple] introduce page_with_header.html template 3 years ago