mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
feat: Add option for a noindex meta tag on the HTML index page
Adds a new config option `index_page_allow_indexing` which defaults to false. Fixes: !1527
This commit is contained in:
1 parent
67d5619ccb
commit
7b6bf4b78e
6 files changed
+28
-1
No files matched your search
@@ -2093,6 +2093,13 @@ pub struct Config {
|
||||
#[serde(default)]
|
||||
pub force_disable_first_run_mode: bool,
|
||||
|
||||
/// Allow or disallow search engine crawling by adding
|
||||
/// `<meta name="robots" content="noindex" />` to the index page.
|
||||
///
|
||||
/// default: false
|
||||
#[serde(default)]
|
||||
pub index_page_allow_indexing: bool,
|
||||
|
||||
/// display: nested
|
||||
#[serde(default)]
|
||||
pub ldap: LdapConfig,
|
||||
|
||||
Reference in new issue
Block a user