Files
cdnutterandClaude Opus 5.5 06097d3bca Add an optional site password for visitors
Settings → Privacy can set a password for the whole public site. Until a
visitor enters it, every public page shows a prompt over a blurred
made-up page, and images, preview clips and exports return 401; nothing
real is sent. Unlocking sets a 90-day cookie derived from the password
hash, so changing the password asks everyone again. The owner is never
asked while signed in. Wrong guesses are rate limited, and a locked site
sends noindex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:47:17 -07:00

27 lines
998 B
HTML

{{define "bodyclass"}}page-admin{{end}}
{{define "content"}}
<div class="container admin">
<header class="admin-head">
<div>
<h1>Settings</h1>
<p class="muted">Changes apply to your public page right away.</p>
</div>
</header>
<div class="settings">
<nav class="settings-nav" aria-label="Settings sections">
<a href="#profile">{{icon "user"}}Profile</a>
<a href="#appearance">{{icon "palette"}}Appearance</a>
<a href="#privacy">{{icon "eye-off"}}Privacy</a>
<a href="#integrations">{{icon "plug"}}Integrations</a>
<a href="#backups">{{icon "archive"}}Backups</a>
<a href="#account">{{icon "lock"}}Account</a>
</nav>
<div class="settings-body" id="settings" aria-busy="true">
<p class="muted">Loading…</p>
</div>
</div>
</div>
<script type="application/json" id="boot">{{.Data.Boot}}</script>
{{end}}
{{define "scripts"}}<script type="module" src="/static/js/admin-settings.js?v={{.AssetVer}}"></script>{{end}}