From 61fcfac541fe2271c052771b1c33b7511efb75bb Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 27 Jul 2024 08:00:00 +0800 Subject: Indent the HTML with tabs --- templates/head.html | 58 ++++++++++++++++++++++++++--------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'templates/head.html') diff --git a/templates/head.html b/templates/head.html index b3f71c9..b5be55d 100644 --- a/templates/head.html +++ b/templates/head.html @@ -1,32 +1,32 @@ {{ define "head" }} - - - - - - {{ if .parent }} - {{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .parent }}/ + + + + + + {{ 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 }} - - + {{ 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 }} -- cgit v1.2.3