sort by href
parent
5b67d5c5f0
commit
0e4da7e436
|
|
@ -89,7 +89,7 @@ func Run(ctx context.Context, args []string) error {
|
||||||
series = append(series, v)
|
series = append(series, v)
|
||||||
}
|
}
|
||||||
slices.SortFunc(series, func(a, b Series) int {
|
slices.SortFunc(series, func(a, b Series) int {
|
||||||
return -1 * strings.Compare(path.Base(a.Thumbnail), path.Base(b.Thumbnail))
|
return -1 * strings.Compare(path.Base(a.HREF), path.Base(b.HREF))
|
||||||
})
|
})
|
||||||
|
|
||||||
if err := tmpl.Execute(w, map[string]any{
|
if err := tmpl.Execute(w, map[string]any{
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
LAdN7KVw-Ig.mp4
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
LAdN7KVw-Ig.jpg
|
|
||||||
Loading…
Reference in New Issue