seoSettings in the app’s
apps/<dir>/zite.config.json. The owner can edit the same fields under Settings → Branding, which writes to
this file.
seoSettings
All four fields are required strings. Use
"" for any field you don’t want to set: an empty string
leaves that field to the fallbacks below. A seoSettings object missing a field fails config
validation, and the build tools reject the file write with an error naming the field.
Changes take effect when the app is published.
What wins
For each field, the first of these that exists is used:- The value in
seoSettings. - The matching tag in the app’s own
index.html: its<title>,<meta name="description">,<link rel="icon">, orog:image. - The platform default: the app name followed by
| Zitefor the title, a generic Zite description, the Zite favicon, and, for public (external) apps, a screenshot of the app as the preview image. Internal apps get no preview image by default.
<title>Zite App</title> and /vite.svg favicon count as placeholders, so they never
override the platform defaults.
Image URLs
faviconUrl and thumbnailUrl must be URLs a browser can load. When the owner uploads an image under
Settings → Branding, Zite hosts it and fills in the URL. The build tools can’t upload images, so an
agent either uses a URL the user already has (their website’s favicon, a logo on a CDN) or asks the user to
upload the image in Settings → Branding.
Related
- Project structure: the other fields in an app’s
zite.config.json. - Make your app installable (PWA): home screen icon and install title, set under Settings → Branding.