diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2023-02-18 14:16:43 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2023-02-18 14:17:47 +0530 |
commit | 1574bbecb5b2856b2018d064a32d2e7f484a58b1 (patch) | |
tree | 0d951885ad44a3df2d0ebeaf99eac2c47ca72c04 /templates/file.html | |
parent | d5a33e9150da61d95ad3ae06f6754a6dd101124a (diff) | |
download | legit-1574bbecb5b2856b2018d064a32d2e7f484a58b1.tar.gz legit-1574bbecb5b2856b2018d064a32d2e7f484a58b1.tar.bz2 legit-1574bbecb5b2856b2018d064a32d2e7f484a58b1.zip |
cleaner titles
by nilix
Diffstat (limited to 'templates/file.html')
-rw-r--r-- | templates/file.html | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/templates/file.html b/templates/file.html index 82a3384..8898786 100644 --- a/templates/file.html +++ b/templates/file.html @@ -1,29 +1,23 @@ {{ define "file" }} <html> {{ template "head" . }} - <title>{{.name }} — {{ .path }}</title> - {{ template "repoheader" . }} <body> {{ template "nav" . }} <main> <p>{{ .path }}</p> - <table class="file-wrapper"> - <tbody><tr> - <td class="line-numbers"> - <pre> - {{- range .linecount }} + <div class="file-wrapper"> + <div class="line-numbers"> + {{- range .linecount }} <a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a> - {{- end -}} - </pre> - </td> - <td class="file-content"> + {{- end -}} + </div> + <div class="file-content"> + <span></span> <pre> {{- .content -}} </pre> - </td> - </tbody></tr> - </table> + </div> </main> </body> </html> |