Make track clicks land, open the data files to other sites, and tidy descriptions, redirects and printing
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
f2235c420d
commit
0e8b5c8ca4
93 files changed
+623
-96
No files matched your search
+3
-1
@@ -19,7 +19,7 @@ HERE = os.path.dirname(os.path.abspath(__file__))
|
||||
ROOT = os.path.dirname(HERE)
|
||||
sys.path.insert(0, HERE)
|
||||
|
||||
from olt import fingerprint, geo, hike, records # noqa: E402
|
||||
from olt import fingerprint, geo, hike, records, redirects # noqa: E402
|
||||
|
||||
GPX_TOL_M = 5.0
|
||||
MAP_TOL_M = 30.0
|
||||
@@ -516,6 +516,8 @@ def main(argv=None):
|
||||
build_archive(name, recs, out_dir, stats)
|
||||
|
||||
copy_static(STATIC_DIR, out_dir, stats)
|
||||
# The guessable trail addresses (/trails/pacific-crest-trail/) follow the fixed ones in _redirects.
|
||||
redirects.append_to(out_dir, recs)
|
||||
|
||||
pages = import_pages()
|
||||
if pages is None:
|
||||
|
||||
Reference in new issue
Block a user