Site
site: the site of the language being rendered.
Fields#
all_pages- Every page in every language.
base_url- The base URL, e.g.
https://example.org/. config- The configuration the embedded templates read:
servicesandprivacy, in snake case, e.g.site.config.services.rss.limit. copyrightcopyright.data- The data files of
data/, e.g.site.data.authors. home- The home page.
is_multilingual- Whether more than one language is configured.
lang- The language code.
language- The site’s language.
language_codelanguageCode, e.g.en-US.languages- Every configured language, by weight.
last_mod- The latest
lastmodof the site’s pages. main_sections- The
mainSectionsconfiguration, else the section with the most regular pages. menus{menu: [menu entry]}(see menu entry), e.g.site.menus.main.pages- Every page of the language: regular pages and list pages.
params- The site parameters (
params), keys lower case. regular_pages- The regular pages of the language.
sections- The top-level sections.
server_port- The port of the base URL (the server’s port under
fugo server), 0 without one. sitemap_abs_url- The absolute URL of the language’s sitemap.
taxonomies{plural: {key: term entry}}: every term of every taxonomy with its pages, e.g.site.taxonomies.tags.rust.pages(see taxonomy).title- The site title (
title).