diff options
| author | Lena <lena@omega> | 2026-08-01 00:00:00 +0000 |
|---|---|---|
| committer | Lena <lena@omega> | 2026-08-01 00:00:00 +0000 |
| commit | bb6bc2387d58c737dbf92e73f8544bf39319dbd8 (patch) | |
| tree | 6d5eaf5dac213074cd832da50f64260fce728fed /templates/base.html | |
| download | git-forge-master.tar.gz | |
A small self-hosted git forge: HTTP push and pull, cgit browsing,
local and OIDC accounts, TOTP, scoped push tokens, per-repo
permissions, issues, a wiki, and outbound mail.
It does not reimplement git. git-http-backend and cgit run as CGI
behind its own listener, which authorises every request before
exec'ing either. One binary, one data directory, one listener: no
database, no JavaScript, and state is JSON in a git repo with a
working tree.
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..0f1751f --- /dev/null +++ b/templates/base.html @@ -0,0 +1,23 @@ +<!doctype html> +<html lang="en"> +<head> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<title>{{block "title" .}}{{.Site}}{{end}}</title> +<link rel="stylesheet" href="/cgit.css"> +<link rel="shortcut icon" href="/favicon.ico"> +</head> +<body> +<div id="cgit"> +{{template "header" .}} +{{template "tabrow" .}} +<div class="content"> +{{if .Error}}<div class="error">{{.Error}}</div>{{end}} +{{if .Notice}}<div class="notice">{{.Notice}}</div>{{end}} +{{block "main" .}}{{end}} +</div> +{{/* cgit's footer names cgit, so this one names the forge. */}} +<div class="footer">generated by {{.Site}} at {{.Now}}</div> +</div> +</body> +</html> |