mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
Temporarily disable directory hrefs.
Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@
|
||||
<ul class="filesUList">
|
||||
{{ range $key, $value := .files}}
|
||||
{{ if eq .Type "dir" }}
|
||||
<li class="filesList"><a href="/file/{{.Fullname}}/{{.DefaultBranch}}/{{.Path}}" class="filesA">{{.Path}} (directory)</a></li>
|
||||
<li class="filesList"><a href="#" class="filesA">{{.Path}} (directory)</a></li>
|
||||
{{ else }}
|
||||
<li class="filesList"><a href="/file/{{.Fullname}}/{{.DefaultBranch}}/{{.Path}}">{{.Path}}</a></li>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user