git-preview @ main

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

templates: index rework
Sat, 17 Dec 2022
6 files changed, 140 insertions(+), 22 deletions(-)
A static/style.css

@@ -0,0 +1,112 @@

+:root { + --light: #f4f4f4; + --cyan: #509c93; + --light-gray: #eee; + --medium-gray: #ddd; + --gray: #6a6a6a; + --dark: #444; + --darker: #222; +} +

… preview truncated

M templates/404.html

@@ -3,7 +3,11 @@ <html>

<title>404</title> {{ template "head" . }} <body> - 404 &mdash; nothing like that here + {{ template "nav" . }} + <main> + <h3>404 &mdash; nothing like that here.</h3> + </main> </body> +

… preview truncated

M templates/500.html

@@ -3,7 +3,11 @@ <html>

<title>500</title> {{ template "head" . }} <body> - 500 &mdash; something broke! + {{ template "nav" . }} + <main> + <h3>500 &mdash; something broke!</h3> + </main> </body> +

… preview truncated

… and 3 more changed files not shown in this preview