End the home page with a line to the pages for parks, mountain ranges and wilderness areas
"Browse by park, by mountain range or by wilderness area" sits with the notes under the rows and the map, so the first screen and the rows are as they were, and each link goes to its section of the Places page.
This commit is contained in:
1 parent
3997c7286e
commit
228f1cd2f7
3 files changed
+46
-3
No files matched your search
+1
-1
@@ -125,7 +125,7 @@ def render_site(records, out_dir, repo_root, site=None):
|
||||
image=card, image_alt=card_alt))
|
||||
dates[path] = seo.modified(rec)
|
||||
pages += 1
|
||||
body = home.render(records, site, repo_root)
|
||||
body = home.render(records, site, repo_root, place_kinds={i["kind"] for i in place_infos.values()})
|
||||
layout.write_page(out_dir, "/", layout.layout("", body, path="/", maps=True, site=site,
|
||||
description=home.description(records),
|
||||
jsonld=seo.home_jsonld(site)))
|
||||
|
||||
Reference in new issue
Block a user