Adding robots.txt override via admin control panel

This is a requested low priority feature in #418 - I created the changes
to follow similarly to how the Instance Description is handled.
This commit is contained in:
Kinetix 2025-01-28 15:57:45 -08:00
parent 4b104879cd
commit 993532bc1f
10 changed files with 62 additions and 1 deletions

8
locales/index.d.ts vendored
View file

@ -11626,6 +11626,14 @@ export interface Locale extends ILocale {
* Scheduled Notes
*/
"scheduledNotes": string;
/**
* Custom robots.txt
*/
"robotsTxt": string;
/**
* Adding entries here will override the default robots.txt packaged with Sharkey. Maximum 2048 characters.
*/
"robotsTxtDescription": string;
}
declare const locales: {
[lang: string]: Locale;