|
|
@ -79,7 +79,12 @@ register_routes([('all-videos', '/videos', |
|
|
|
('all-photos', '/videos/featured', |
|
|
|
('all-photos', '/videos/featured', |
|
|
|
'mediagoblin.plugins.libreplanet.views:featured_video_listing'), |
|
|
|
'mediagoblin.plugins.libreplanet.views:featured_video_listing'), |
|
|
|
('all-photos', '/photos/featured', |
|
|
|
('all-photos', '/photos/featured', |
|
|
|
'mediagoblin.plugins.libreplanet.views:featured_image_listing') |
|
|
|
'mediagoblin.plugins.libreplanet.views:featured_image_listing'), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
('libreplanet-videos', '/videos/libreplanet', |
|
|
|
|
|
|
|
'mediagoblin.plugins.libreplanet.views:libreplanet_video_listing'), |
|
|
|
|
|
|
|
('libreplanet-photos', '/photos/libreplanet', |
|
|
|
|
|
|
|
'mediagoblin.plugins.libreplanet.views:libreplanet_image_listing') |
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
# This is a dict that specifies which hooks this plugin uses. |
|
|
|
# This is a dict that specifies which hooks this plugin uses. |
|
|
|