feat: put the wanted page in the site header

A Wanted files link sits in the bar on every page and every width, beside the search and menu buttons on a phone, current on its own page. Below 27rem the site name is kept for screen readers only. files/ and wanted/ link each other in one line.
This commit is contained in:
Abdessamad Derraz committed 2026-11-13 12:26:18 +01:00
1 parent 4a9317cb4c
commit e6738e591b
5 files changed
+94 -3

No files matched your search

+2
View File
@@ -4887,6 +4887,8 @@ def generate_files_page() -> str:
"`scph5501.bin`, the PlayStation BIOS v3.0. "
"To look a file up by its name, use the search at the top of the page.",
"",
"Have a file the collection lacks? [See if it is wanted](../wanted.md).",
"",
"## Permanent links",
"",
"A file's card lives on its manufacturer's page, and a file refiled "
+3 -1
View File
@@ -336,7 +336,9 @@ def page(known: int) -> str:
"3. A check reads the file and says if it fits. Then we add it.",
"",
(f"The page knows {known:,} wanted files by their hash, a fingerprint of the contents. "
"The rest are listed on [the gaps page](gaps.md). "
"The rest are listed on [the gaps page](gaps.md)."),
"",
("To look up any file, use [Find or check a file](files/index.md). "
"More ways to help are on [Contributing](contributing.md)."),
"",
])