Alcove CMS
Ru

Part IV, Delivery

Site settings and redirects

site.yaml, redirects.yaml and the files Alcove writes for you.

content/site.yaml holds the public address, the default language, the database, the roles and the debug key. All keys are optional.

content/redirects.yaml maps old paths to new ones. Alcove checks them for loops and for paths that would hide a real page, and writes them to dist/_redirects for hosts that read that file.

With a url, every HTML page gets a canonical link and Open Graph tags, and the site gets a sitemap and a robots file.

Live result This page is a static file, built once.

Files Alcove wrote for this site: /sitemap.xml, /robots.txt. The robots file, fetched now:

Loading...

The canonical and Open Graph tags in the head of this page:

Needs JavaScript to show.

Source the files behind the result above

content/site.yaml

url: https://alcovecms.org
lang: en
debug_key: open-house-alcove-7f3c9a2d
proxy: true
roles:
  member: 1
  admin: 2

content/redirects.yaml

/manual/: /docs/
/cabinet/: /docs/
/journal/: /docs/pagination/
/register/: /docs/sql-posts/