Fix /{photos,memes,editorials}/page/X

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-12-14 22:23:49 -05:00
parent 229d272f33
commit 785d169996
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,7 @@
(equal? (car path-components) "editorials")
(or
(equal? (length path-components) 1)
(pages? path-components "editorials")
(pages? path-components "interviews")
(pages? path-components "in-the-media")
(pages? path-components "white-papers")
@ -94,6 +95,7 @@
(- (length path-components) 4))
"photos")))
(or
(pages? path-components "photos")
(pages? path-components "trending")
(pages? path-components "most-commented")
(pages? path-components "most-favorited")
@ -135,6 +137,7 @@
((and (equal? (car path-components) "memes")
(or
(equal? (length path-components) 1)
(pages? path-components "memes")
(pages? path-components "children")
(pages? path-components "submissions")
(pages? path-components "researching")