-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple routes for posts #49
Comments
Multiple instances are not necessary -- easiest thing to do is probably defining custom routes, like in this example, but instead of returning all of the posts, return just posts tagged with 'article', 'news', and so forth. |
@kiinoo did this work for you? |
@jsantell
'/news/n1' can route to news 'n1' properly, but the "more link" is still 'post/n1' |
Hmm, looks like a readmore link issue, will check it out |
Is it possible to create multiple instances of peot?
What I need is to put different posts (.md or .jade) in different folders, and route them with different urls.
e.g.
'/article/:article' direct to articles in my site
'/news/:news' direct to news
'/product/:product' direct to products.
any idea?
thanks.
The text was updated successfully, but these errors were encountered: