Every theme functions in a similar fashion. Letterpad takes care of the routing and knows exactly which component needs to be rendered based on the url. These are urls available:
The homepage can display either a list of posts or a single page.
/home/page/:page_no(pagination for multiple posts)
Every post which needs to be displayed to the user should have a category. This is the only way of grouping posts together. You can add this category in the navigation menu which will render multiple posts
/posts/:slug/page/:page_no(slug is the category slug)
Single post can be displayed with the below url, where :slug is the slug of the post.
Single page can be displayed with the below url, where :slug is the slug of the page.
Posts by category
You can also display a list of posts linked with a category with the below url format, where :query is the category slug.
Posts by tag
You can also display a list of posts linked with a tag with the below url format, where :query is the tag slug.