diff options
author | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
commit | 61fcfac541fe2271c052771b1c33b7511efb75bb (patch) | |
tree | 70b4eb7fdf5b2d7bb17c09c9a5060b2ad79813b6 /templates/log.html | |
parent | Add myself to LICENSE (diff) | |
download | legitrx-61fcfac541fe2271c052771b1c33b7511efb75bb.tar.gz legitrx-61fcfac541fe2271c052771b1c33b7511efb75bb.tar.zst legitrx-61fcfac541fe2271c052771b1c33b7511efb75bb.zip |
Indent the HTML with tabs
Diffstat (limited to 'templates/log.html')
-rw-r--r-- | templates/log.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/templates/log.html b/templates/log.html index d097990..4312d66 100644 --- a/templates/log.html +++ b/templates/log.html @@ -3,24 +3,24 @@ <html> {{ template "head" . }} - {{ template "repoheader" . }} - <body> - {{ template "nav" . }} - <main> - {{ $repo := .name }} - <div class="log"> - {{ range .commits }} - <div> - <div><a href="/{{ $repo }}/commit/{{ .Hash.String }}" class="commit-hash">{{ slice .Hash.String 0 8 }}</a></div> - <pre>{{ .Message }}</pre> - </div> - <div class="commit-info"> - {{ .Author.Name }} <a href="mailto:{{ .Author.Email }}" class="commit-email">{{ .Author.Email }}</a> - <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> - </div> - {{ end }} - </div> - </main> - </body> + {{ template "repoheader" . }} + <body> + {{ template "nav" . }} + <main> + {{ $repo := .name }} + <div class="log"> + {{ range .commits }} + <div> + <div><a href="/{{ $repo }}/commit/{{ .Hash.String }}" class="commit-hash">{{ slice .Hash.String 0 8 }}</a></div> + <pre>{{ .Message }}</pre> + </div> + <div class="commit-info"> + {{ .Author.Name }} <a href="mailto:{{ .Author.Email }}" class="commit-email">{{ .Author.Email }}</a> + <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> + </div> + {{ end }} + </div> + </main> + </body> </html> {{ end }} |