feat: support folder index pages
This commit is contained in:
@@ -46,7 +46,10 @@
|
||||
{{ range .Items }}
|
||||
<li>
|
||||
<a class="{{ if .Active }}is-active{{ end }} {{ if .IsFolder }}is-folder{{ end }}" href="{{ .URL }}">
|
||||
<span>{{ .Name }}</span>
|
||||
<span class="browser-item-label">
|
||||
<span class="browser-icon {{ if .IsFolder }}browser-icon--folder{{ else }}browser-icon--file{{ end }}" aria-hidden="true"></span>
|
||||
<span>{{ .Name }}</span>
|
||||
</span>
|
||||
{{ if .IsFolder }}<span aria-hidden="true">›</span>{{ end }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user