Kept the prototype out of search engines in the Website service.
This commit is contained in:
1 parent
359fe0d6ac
commit
326299fc35
12 files changed
+232
-44
No files matched your search
@@ -264,6 +264,16 @@ package extension ConfigReader {
|
||||
)
|
||||
}
|
||||
|
||||
/// Whether search engines may index the site, read from the `site.indexable` key.
|
||||
///
|
||||
/// Off by default: the prototype holds demo data, and a sign-in anyone can use. While off, every response is marked `noindex`.
|
||||
var isIndexable: Bool {
|
||||
bool(
|
||||
forKey: .Site.indexable,
|
||||
default: false
|
||||
)
|
||||
}
|
||||
|
||||
/// The origin passkeys are bound to, read from the `passkeys.origin` key.
|
||||
var passkeysOrigin: String {
|
||||
string(
|
||||
|
||||
Reference in new issue
Block a user