{{- if and (eq .Sort "namedirfirst") (ne .Order "desc")}}
- Name
+
{{- else if and (eq .Sort "namedirfirst") (ne .Order "asc")}}
- Name
+
{{- else}}
- Name
+
{{- end}}
- |
+
{{- if and (eq .Sort "name") (ne .Order "desc")}}
- (a-z)
+ Name
{{- else if and (eq .Sort "name") (ne .Order "asc")}}
- (a-z)
+ Name
{{- else}}
- (a-z)
+ Name
{{- end}}
{{- if and (eq .Sort "size") (ne .Order "desc")}}
- Size
+ Size
{{- else if and (eq .Sort "size") (ne .Order "asc")}}
- Size
+ Size
{{- else}}
Size
{{- end}}
{{- if and (eq .Sort "time") (ne .Order "desc")}}
- Modified
+ Modified
{{- else if and (eq .Sort "time") (ne .Order "asc")}}
- Modified
+ Modified
{{- else}}
Modified
{{- end}}