Download this file
| 1 | {{/* The published document: the one screen in this app a stranger sees. |
| 2 | |
| 3 | The bar is the layout's (chrome.go, frameOptions.public): the brand is |
| 4 | plain text rather than a link, because "/" would bounce a stranger |
| 5 | straight to Sign in, and the corner offers "Sign in" (or the account, |
| 6 | for someone who happens to be signed in). There is no share control: |
| 7 | this reader owns nothing to share. |
| 8 | |
| 9 | No editor. Not disabled, not hidden — absent. A read-only surface |
| 10 | built by hiding an editor is one CSS rule away from being an editor |
| 11 | again, and the updates route it would post to is behind the session |
| 12 | guard anyway, so the mount point would only produce a page that |
| 13 | fails at the network. Ruling 15's other half: every write has a |
| 14 | named actor, and whoever is reading this has no name. */}} |
| 15 | {{define "content"}} |
| 16 | <article rst-stack docs-public> |
| 17 | <div docs-public-notice>{{template "callout" (dict "Body" .ReadOnly "Tone" "info")}}</div> |
| 18 | <div docs-public-body>{{.HTML}}</div> |
| 19 | </article> |
| 20 | {{end}} |
| 21 | |