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/tree.html | 94 ++++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) (limited to 'templates/tree.html') diff --git a/templates/tree.html b/templates/tree.html index 7ba065b..6e48dc1 100644 --- a/templates/tree.html +++ b/templates/tree.html @@ -4,53 +4,53 @@ {{ template "head" . }} - {{ template "repoheader" . }} - - {{ template "nav" . }} -
- {{ $repo := .name }} - {{ $ref := .ref }} - {{ $parent := .parent }} + {{ template "repoheader" . }} + + {{ template "nav" . }} +
+ {{ $repo := .name }} + {{ $ref := .ref }} + {{ $parent := .parent }} -
- {{ if $parent }} -
-
-
..
- {{ end }} - {{ range .files }} - {{ if not .IsFile }} -
{{ .Mode }}
-
{{ .Size }}
-
- {{ if $parent }} - {{ .Name }}/ - {{ else }} - {{ .Name }}/ - {{ end }} -
- {{ end }} - {{ end }} - {{ range .files }} - {{ if .IsFile }} -
{{ .Mode }}
-
{{ .Size }}
-
- {{ if $parent }} - {{ .Name }} - {{ else }} - {{ .Name }} - {{ end }} -
- {{ end }} - {{ end }} -
-
-
-          {{- if .readme }}{{ .readme }}{{- end -}}
-        
-
-
- +
+ {{ if $parent }} +
+
+
..
+ {{ end }} + {{ range .files }} + {{ if not .IsFile }} +
{{ .Mode }}
+
{{ .Size }}
+
+ {{ if $parent }} + {{ .Name }}/ + {{ else }} + {{ .Name }}/ + {{ end }} +
+ {{ end }} + {{ end }} + {{ range .files }} + {{ if .IsFile }} +
{{ .Mode }}
+
{{ .Size }}
+
+ {{ if $parent }} + {{ .Name }} + {{ else }} + {{ .Name }} + {{ end }} +
+ {{ end }} + {{ end }} +
+
+
+					{{- if .readme }}{{ .readme }}{{- end -}}
+				
+
+
+ {{ end }} -- cgit v1.2.3