{{define "title"}}{{ tr "Settings" }} · {{ tr "Volumen admin" }}{{end}} {{define "content"}}
{{ tr "Manage your account and users" }}
{{ tr "Signed in as" }} {{ .CurrentUser }} · {{ tr .CurrentRole }}
{{ tr "WebP, AVIF or SVG, max 10 MB. Shown in the sidebar." }}
{{if .CurrentUserRecord.Photo}} {{end}}{{ tr "The interface language of your account. The login screen follows your last choice." }}
{{ tr "The colour scheme of your account. The login screen follows your last choice." }}
{{ tr "Display name pre-fills the author field. Fediverse handle pre-fills the creator, and the ORCID pre-fills the author identifier of new publications." }}
{{ tr "Change your password and username. You can also lock yourself out." }}
{{ . }}{{end}}
{{ tr "Your sign-in asks for a code from your application after the password." }}
{{ tr "Scan the code with your authenticator application, or enter the secret by hand, then confirm with the code it shows." }}
{{ tr "Secret" }}
{{ .TotpSecret }}
{{ tr "Ask for a code from your authenticator application after the password. Voluntary: nothing changes until you finish the setup." }}
{{end}}{{ tr "Add or remove admin and editor accounts" }}
{{ tr "Pre-fill new posts with a reusable structure" }}
{{ tr "No templates yet. Templates pre-fill the new-post form so you can keep your favourite structure on hand." }}
{{end}}{{ tr "Export or import all posts, media, users, and templates" }}
{{ trh "Download a .tar.gz archive of your entire site." }}
{{ tr "Restore from a previously exported archive. Overwrites existing data." }}
{{ tr "Keep Volumen up to date" }}
{{ tr "Running" }} {{ .Version }} {{if .UpdateAvailable}} · {{ tr "latest" }} {{ .UpdateAvailable }} {{end}}
{{if .UpdateAvailable}}{{ tr "Notify external services when posts change" }}
{{ trh "No webhooks yet. Add an endpoint below, or declare [[webhooks]] blocks in config.toml (those are read-only here):" }}
[[webhooks]]
url = "https://example.com/hooks/rebuild"
secret = "a-long-random-string" # HMAC-SHA256 signing key
events = ["post.created", "post.updated", "post.deleted", "post.published"]
{{else}}
{{ tr "Signed JSON payloads are POSTed on post changes. Changes apply without a restart." }}
| URL | {{ tr "Events" }} | |
|---|---|---|
| {{ .URL }} {{if not .Enabled}}{{ tr "disabled" }}{{end}} {{if .Signed}}{{ tr "signed" }}{{end}} {{if not .Managed}}{{ tr "from config" }}{{end}} | {{ .EventsText }} | {{if .Managed}} {{end}} |
{{ tr "Kept in memory; cleared on restart." }}
| {{ tr "When" }} | {{ tr "Event" }} | {{ tr "Endpoint" }} | {{ tr "Result" }} |
|---|---|---|---|
| {{ .Timestamp }} | {{ .Event }} | {{ .HookURL }} | {{if .OK}} HTTP {{ .StatusCode }} {{else}} {{ .Result }} {{end}} |
{{ tr "Programmatic write access to the public API" }}
{{ trh "Send a token as Authorization: Bearer <token> on POST/PUT/DELETE /api/volumen/posts." }}
{{ .NewToken }}| {{ tr "Name" }} | {{ tr "Created" }} | {{ tr "Last used" }} | |
|---|---|---|---|
| {{ .Name }} | {{ .CreatedDay }} | {{ .LastUsedDay }} |
{{ tr "No tokens yet. Create one to publish posts from scripts or CI." }}
{{end}}