Duolith docs

Errors E0500 to E0599

E0567 Web address setting that cannot be used

Message web problem

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

web in duolith.yaml says where the site is served from (decision 0162). With it every route's file names its own address (the canonical link) and carries the tags a link preview is made from, and the build writes sitemap.xml and robots.txt. Search engines and previews read these as written, so the build stops on anything they would misread: a url that is not an http or https address of a whole site (the app is served from the address's root, so it has no path, query or fragment), a name that is empty, an image that is not the path of a file in public/, and a key under web that is not a setting (url, name and image are).

How to fix it

Write web: with url: https://notes.example.com, and optionally name: Field Notes and image: /card.png, where card.png is in public/. Leave web out to write no canonical links, previews or sitemap.

In a terminal

duolith explain E0567

Mentioned in