Each trail's page now offers "Report a problem" (a GitHub form with the record filled in), "Edit this record" and "History". The footer, the home page and About link to the forms for a wrong record and a missing trail, and Logos links to a form for a steward or creator who wants a track or logo removed or re-credited. The links are built only when repo_url in web/site.toml is a github.com repository. .github/ has the three issue forms and a pull request checklist, and the workflow also runs the site's tests and a build, on Python 3.12. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
36 lines
1.6 KiB
TOML
36 lines
1.6 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 <title> and the default meta description.
|
|
tagline = "Long-distance hiking trails of the United States and Canada, with their tracks where they may be shared"
|
|
|
|
# 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 documents' wording is left as it is.
|
|
contact_url = ""
|
|
|
|
# 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"
|