Files
pages/templates/layouts/base.gohtml
T
Anya Tokugawa c1175d389f Implement Knowledge City platform, organizer and DAV integration
Capture accumulated application, UI, CLI, regression tests and design documentation changes, including task project mapping and default CalDAV list naming.

Keep deployment data, backups, local credentials and build artifacts out of Git. Move the Compose enrollment token to an ignored local environment file.
2026-09-27 14:44:43 +09:00

61 lines
852 B
Go Template

{{ define "base" }}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ .Title }}</title>
<link rel="stylesheet" href="/static/css/main.css">
<link rel="stylesheet" href="/static/css/modes.css">
</head>
<body class="{{ template "body-class" . }}">
<header class="topbar">
<div class="brand">
<a href="/">Pages Wiki</a>
</div>
<nav>
<a href="/new">New</a>
<a href="/l">Links</a>
{{ if .Path }}
<a href="{{ .Path }}">
View
</a>
<a href="/e/-{{ .Path }}">
Edit
</a>
<a href="/v/raw/path:{{ .Path }}">
Raw
</a>
{{ end }}
</nav>
{{ template "auth-menu" . }}</header>
<main class="container">
{{ template "content" . }}
</main>
{{ template "scripts" . }}
</body>
</html>
{{ end }}
{{ define "body-class" }}
mode-view
{{ end }}