package templates templ AdminSettings(user User, systemConfig map[string]string, errorMessage string) { System Settings - Bookhoard @Header(user, "/admin/settings")
@AdminSidebar(user, "/admin/settings")
@Icon("settings", "h-5 w-5")

System Settings

Configure your Bookhoard instance

if errorMessage != "" {
@Icon("alert", "h-5 w-5 shrink-0 mt-0.5") { errorMessage }
}
@Icon("globe", "h-5 w-5 shrink-0")

Base URL

The public URL of your Bookhoard instance (e.g., https://books.example.com). Used for device sync, OPDS, and API endpoints.

@Icon("clock", "h-5 w-5 shrink-0")

System Defaults

Default timezone for users who haven't set their own.

@Icon("external", "h-5 w-5 shrink-0")

URL Paths

OPDS: { systemConfig["base_url"] }/opds

API: { systemConfig["base_url"] }/api

Device Sync: { systemConfig["base_url"] }/api/sync

}