Files
longhikes/web/site.toml
T
swaitsandClaude Fable 5.2 f2d3b71810
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Add 130 views of the same records, speed up map pages, and say who maintains the site
- New pages built from the records: lists by length, time to walk,
  month, kind of walking and holder; place-by-list pages; a Triple Crown
  table and key-figure tables for the National Scenic and Recreation
  Trails; highest points, most climbing and climb per mile; a page for
  every route author, with the authors of three or more routes leading
  the authors page; connected trails; recently added and changed; a
  glossary and a method page. Every place page opens with a summary.
- Trail pages open with an "In brief" paragraph generated from the
  record and show when the record was last checked. The About page says
  who maintains the site and how to reach them.
- The map starts when it is reached, not with the page. The site's own
  CSS, scripts and fonts are fingerprinted and cached for a year. Every
  image has its dimensions.
- Titles are held to 60 characters and share previews get their own
  shorter description.
- Social cards are redrawn so a long name can no longer push text into
  the footer, and the site-wide card takes its wording from the site
  settings instead of an old hand-made image.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 16:51:13 -07:00

50 lines
2.5 KiB
TOML

# Site-wide settings for the generated pages. Read by web/olt/site.py.
#
# The site's display name appears only here: every page, title and footer
# takes it from `name`, so a rename is a one-line change.
name = "Long Hikes"
# One line under the name: the home page's headline, the text of the site card
# (assets/og.png, made by web/tools/make_cards.py), the default meta description, and what the
# data files say the site is. No full stop; claim only what the site does.
tagline = "Long-distance hiking trails of the United States and Canada"
# The home page's <title> before the name is added: what the site is, in the words
# people search with, about 50 characters. Empty: "<name>: <tagline>".
home_title = "Long-Distance Hiking Trails of the US and Canada"
# Absolute origin of the deployed site, without a trailing slash, for example
# "https://example.org". When set, every page gets a canonical link. Empty: none.
base_url = "https://longhikes.org"
# Home of the source repository, for example "https://github.com/owner/repo".
# When set, pages link to it for reporting an error. Empty: those links are left out.
# This repository is public on GitHub; that is where issues and pull requests happen.
repo_url = "https://github.com/swaits/longhikes"
# Default branch of the source repository, for edit/history/blob links.
repo_branch = "main"
# Where to write to the maintainers (a contact page or a mailto: address), for
# logo removal requests and other questions. When this or repo_url is set, the
# About and Logos pages link the documents' "open an issue" and "write to the
# maintainers" wording to it. Empty: the repository's issue chooser when repo_url is a
# GitHub repository (site.contact), else the documents' wording is left as it is.
contact_url = ""
# The person who maintains the site, and the page that says who they are, for the About
# page's "Who maintains this" and for the home page's Organization and the Dataset in the
# structured data. Both empty: the About page has no such section and the markup names no
# person. No email address and no other personal detail belongs here.
maintainer_name = "Stephen Waits"
maintainer_url = "https://github.com/swaits"
# Language of record names that are not English, by record id (a BCP 47 tag).
# Every place a page shows one of these names as text marks it with lang="..",
# so screen readers pronounce it in that language.
[name_lang]
traversee-charlevoix = "fr"
sentier-national = "fr"
sentier-international-appalaches = "fr"