You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/blog/2014/05/04/ ==> list of all blog entries from May 4, 2014
/blog/2014/05/ ==> list of all blog entries from May 2014
/blog/2014/ ==> list of all blog entries from 2014
This can just be a part of the \Blog\Site\Controllers\Home::index method
Remember to add support for pagination on those URLs
the /blog/{year} route shouldn't ever conflict with any of the existing routes because all the other ones are more specific ( /post/{slug}, /category/{path}, etc)
The text was updated successfully, but these errors were encountered:
Lots of blogs support these types of URLs:
/blog/2014/05/04/ ==> list of all blog entries from May 4, 2014
/blog/2014/05/ ==> list of all blog entries from May 2014
/blog/2014/ ==> list of all blog entries from 2014
This can just be a part of the \Blog\Site\Controllers\Home::index method
Remember to add support for pagination on those URLs
the /blog/{year} route shouldn't ever conflict with any of the existing routes because all the other ones are more specific ( /post/{slug}, /category/{path}, etc)
The text was updated successfully, but these errors were encountered: