mirror of
https://github.com/seigler/awesome-dash-platform
synced 2025-07-27 06:36:08 +00:00
Scripts: Set Vdeos sort order
This commit is contained in:
parent
98b9ef6b28
commit
a0fa04bd47
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module.exports = fs.readdirSync(dir)
|
||||||
|
|
||||||
let sort = (a, b) => sortAbc(a.title, b.title)
|
let sort = (a, b) => sortAbc(a.title, b.title)
|
||||||
|
|
||||||
if (file.slug === 'articles') {
|
if (file.slug === 'articles' || file.slug === 'videos') {
|
||||||
sort = (a, b) => sortInv(a.date, b.date)
|
sort = (a, b) => sortInv(a.date, b.date)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue