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.
61 lines
852 B
Go Template
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 }}
|