From 29165c4c9356fda25ed2df9e06e285ce8010e893 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 20 Feb 2024 00:40:51 +0000 Subject: add bunny.garden assets --- templates/head.html | 63 ++++++++++++++++++++++++++-------------------------- templates/index.html | 11 ++++++--- 2 files changed, 40 insertions(+), 34 deletions(-) (limited to 'templates') diff --git a/templates/head.html b/templates/head.html index 08c572e..a4a02d2 100644 --- a/templates/head.html +++ b/templates/head.html @@ -1,33 +1,34 @@ {{ define "head" }} - - - - - - - {{ if .parent }} - {{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .parent }}/ - {{ else if .path }} - {{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .path }} - {{ else if .files }} - {{ .meta.Title }} — {{ .name }} ({{ .ref }}) - {{ else if .commit }} - {{ .meta.Title }} — {{ .name }}: {{ .commit.This }} - {{ else if .branches }} - {{ .meta.Title }} — {{ .name }}: refs - {{ else if .commits }} - {{ if .log }} - {{ .meta.Title }} — {{ .name }}: log - {{ else }} - {{ .meta.Title }} — {{ .name }} - {{ end }} - {{ else }} - {{ .meta.Title }} - {{ end }} - {{ if and .servername .gomod }} - - {{ end }} - - -{{ end }} + + + + + + + {{ if .parent }} + {{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .parent }}/ + + {{ else if .path }} + {{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .path }} + {{ else if .files }} + {{ .meta.Title }} — {{ .name }} ({{ .ref }}) + {{ else if .commit }} + {{ .meta.Title }} — {{ .name }}: {{ .commit.This }} + {{ else if .branches }} + {{ .meta.Title }} — {{ .name }}: refs + {{ else if .commits }} + {{ if .log }} + {{ .meta.Title }} — {{ .name }}: log + {{ else }} + {{ .meta.Title }} — {{ .name }} + {{ end }} + {{ else }} + {{ .meta.Title }} + {{ end }} + {{ if and .servername .gomod }} + + {{ end }} + + +{{ end }} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index a820dec..8347468 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,8 +3,13 @@ {{ template "head" . }}
-

{{ .meta.Title }}

-

{{ .meta.Description }}

+
+ +
+
+

{{ .meta.Title }}

+

{{ .meta.Description }}

+
@@ -23,4 +28,4 @@ -{{ end }} \ No newline at end of file +{{ end }} -- cgit