git-preview @ main

static git web frontend but with images and html previews + code truncation

templates: unified repo-header
Sun, 18 Dec 2022
7 files changed, 49 insertions(+), 41 deletions(-)
M templates/commit.html

@@ -2,10 +2,7 @@ {{ define "commit" }}

<html> {{ template "head" . }} - <header> - <h1>{{ .meta.Title }}</h1> - <h2>{{ .meta.Description }}</h2> - </header> + {{ template "repoheader" . }} <body> {{ template "nav" . }}

… preview truncated

M templates/file.html

@@ -2,21 +2,22 @@ {{ define "file" }}

<html> {{ template "head" . }} - <header> - <h1>{{ .meta.Title }}</h1> - <h2>{{ .meta.Description }}</h2> - </header> + {{ template "repoheader" . }} <body> {{ template "nav" . }}

… preview truncated

M templates/log.html

@@ -2,10 +2,7 @@ {{ define "log" }}

<html> {{ template "head" . }} - <header> - <h1>{{ .meta.Title }}</h1> - <h2>{{ .meta.Description }}</h2> - </header> + {{ template "repoheader" . }} <body> {{ template "nav" . }}

… preview truncated

… and 4 more changed files not shown in this preview