Kept the prototype out of search engines in the Website service.

This commit is contained in:
javier committed 2026-09-21 17:36:39 +02:00
1 parent 359fe0d6ac
commit 326299fc35
12 files changed
+232 -44

No files matched your search

@@ -82,6 +82,11 @@ extension AbsoluteConfigKey {
/// The absolute configuration key for the directory the static files are served from.
public static let staticFiles: AbsoluteConfigKey = .init(.Path.staticFiles)
}
/// A namespace for the site configuration keys, as absolute keys.
public enum Site {
/// The absolute configuration key for letting search engines index the site.
public static let indexable: AbsoluteConfigKey = .init(.Site.indexable)
}
/// A namespace for the security headers configuration keys, as absolute keys.
public enum Security {
/// The absolute configuration key for the `Content-Security-Policy` header value.
@@ -107,5 +107,7 @@ extension ConfigKey {
public enum Site {
/// The configuration key for the public origin the site is served at (scheme and host, no trailing slash).
public static let origin: ConfigKey = "site.origin"
/// The configuration key for letting search engines index the site.
public static let indexable: ConfigKey = "site.indexable"
}
}