Show a trail's other links, and the lists the site was checked against
A trail's page lists its [[link]] entries under the main buttons, as "More about this trail": the page's title, then who publishes it. The official site stays the main button. A trail with no official site gets its first link in that place, named by its publisher, and that link is not repeated in the list. The About page shows the README's new "Other lists of long trails" section. Tests updated for the new trail counts, and for there being no trail left that spans a whole country. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
5c716c3c62
commit
94015cd86b
8 files changed
+108
-14
No files matched your search
+1
-1
@@ -288,7 +288,7 @@ def about_page(records, site, repo_root):
|
||||
|
||||
what = quoted("What this is, and what it is not", "The dataset’s own words")
|
||||
rule = quoted("Inclusion rule", "The rule as the dataset states it")
|
||||
rest = link_requests(render_sections(readme, site, ["How to use it", "Licences", "Report an error"]), site)
|
||||
rest = link_requests(render_sections(readme, site, ["How to use it", "Other lists of long trails", "Licences", "Report an error"]), site)
|
||||
contrib = render_doc(read_doc(repo_root, "CONTRIBUTING.md"), site, heading_offset=1)
|
||||
cards = "".join(
|
||||
f'<li><a href="{esc(href)}">{esc(title)}</a><small>{esc(what_)}</small></li>'
|
||||
|
||||
Reference in new issue
Block a user