Files
longhikes/web/site.toml
T

53 lines
2.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'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"
# Google tag container id. When set, every page loads the tag (web/olt/layout.py) to count visits;
# the Content-Security-Policy in web/static/_headers allows it. Empty: no tag.
google_tag = "GTM-WWLZSH6Q"
# 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-international-appalaches = "fr"