aboutsummaryrefslogtreecommitdiff
path: root/templates/nav.html
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-07-27 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-07-27 08:00:00 +0800
commit61fcfac541fe2271c052771b1c33b7511efb75bb (patch)
tree70b4eb7fdf5b2d7bb17c09c9a5060b2ad79813b6 /templates/nav.html
parentAdd myself to LICENSE (diff)
downloadlegitrx-61fcfac541fe2271c052771b1c33b7511efb75bb.tar.gz
legitrx-61fcfac541fe2271c052771b1c33b7511efb75bb.tar.zst
legitrx-61fcfac541fe2271c052771b1c33b7511efb75bb.zip
Indent the HTML with tabs
Diffstat (limited to 'templates/nav.html')
-rw-r--r--templates/nav.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/nav.html b/templates/nav.html
index 51c9a34..3d40495 100644
--- a/templates/nav.html
+++ b/templates/nav.html
@@ -1,14 +1,14 @@
{{ define "nav" }}
- <nav>
- <ul>
- {{ if .name }}
- <li><a href="/{{ .name }}">summary</a>
- <li><a href="/{{ .name }}/refs">refs</a>
- {{ if .ref }}
- <li><a href="/{{ .name }}/tree/{{ .ref }}/">tree</a>
- <li><a href="/{{ .name }}/log/{{ .ref }}">log</a>
- {{ end }}
- {{ end }}
- </ul>
- </nav>
+ <nav>
+ <ul>
+ {{ if .name }}
+ <li><a href="/{{ .name }}">summary</a>
+ <li><a href="/{{ .name }}/refs">refs</a>
+ {{ if .ref }}
+ <li><a href="/{{ .name }}/tree/{{ .ref }}/">tree</a>
+ <li><a href="/{{ .name }}/log/{{ .ref }}">log</a>
+ {{ end }}
+ {{ end }}
+ </ul>
+ </nav>
{{ end }}