Files
pages/templates/pages/anonymous_view.gohtml
T
Anya Tokugawa d5d21b7841
Build and publish container images / images (push) Successful in 9m34s
Release container images / release (push) Successful in 36s
Refactor architecture into eight components and consolidate reliability work
Extract Grammaratur, Dregarnuhr, Geduldh, Mestionora, Ordoschnellic, Schutzaria, Kunstzeal and Seheweit behind compatible application contracts.

Include accumulated editor resilience, navigation and theme UX, remote CLI, storage/schema and DR groundwork, tests and design/operations documentation.

Verified: uncached full Go suite; go vet ./...; race tests for all eight components; 11 targeted Chromium tests; Node suites; 19 Python CLI tests; reproducible editor build. No push, release tag or deployment in this checkpoint.
2026-11-01 15:23:31 +09:00

10 lines
1.4 KiB
Go Template

{{ define "anonymous_view.gohtml" }}<!doctype html>
<html lang="{{ .Locale }}"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>{{ .Title }} · {{ .WikiName }}</title>
{{ template "social-metadata" . }}
<script type="module" src="/static/js/code-highlight.js?v=1"></script>
<link rel="stylesheet" href="/static/css/main.css"><link rel="stylesheet" href="/static/css/theme/base.css">{{ if .ThemeCSS }}<link rel="stylesheet" href="{{ .ThemeCSS }}">{{ end }}
<style>.public-document img,.public-document video{max-width:100%;max-height:85vh}.public-document iframe{width:100%;height:85vh;border:0}.public-document pre{overflow:auto}</style></head>
<body class="{{ .Theme }}"><main class="public-document">{{ template "public-navigation" . }}
<section id="public-content" tabindex="-1">{{ if .HTML }}<article class="page-html">{{ .HTML }}</article>{{ else if eq .Media "image" }}<img src="{{ .RawURL }}" alt="{{ .Title }}">{{ else if eq .Media "pdf" }}<iframe src="{{ .RawURL }}" title="{{ .Title }}"></iframe>{{ else if eq .Media "audio" }}<audio src="{{ .RawURL }}" controls preload="metadata"></audio>{{ else if eq .Media "video" }}<video src="{{ .RawURL }}" controls preload="metadata"></video>{{ else if .Text }}<pre><code class="language-{{ .CodeLanguage }}">{{ .Text }}</code></pre>{{ end }}</section>
</main><script src="/static/js/public-navigation.js?v=3" defer></script></body></html>{{ end }}