Fix /{photos,memes,editorials}/page/X
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
229d272f33
commit
785d169996
3
meme.scm
3
meme.scm
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue