Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Configuration/Routes/BlogArchive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ routeEnhancers:
plugin: Archive
routes:
-
routePath: '/archive/{year}'
routePath: '/{year}'
_controller: 'Post::listPostsByDate'
_arguments:
year: year
-
routePath: '/archive/{year}/page-{page}'
routePath: '/{year}/page-{page}'
_controller: 'Post::listPostsByDate'
_arguments:
year: year
page: '@widget_0/currentPage'
-
routePath: '/archive/{year}/{month}'
routePath: '/{year}/{month}'
_controller: 'Post::listPostsByDate'
_arguments:
year: year
month: month
-
routePath: '/archive/{year}/{month}/page-{page}'
routePath: '/{year}/{month}/page-{page}'
_controller: 'Post::listPostsByDate'
_arguments:
year: year
Expand Down
4 changes: 2 additions & 2 deletions Configuration/Routes/BlogAuthorPosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ routeEnhancers:
plugin: AuthorPosts
routes:
-
routePath: '/author/{author_title}'
routePath: '/{author_title}'
_controller: 'Post::listPostsByAuthor'
_arguments:
author_title: author
-
routePath: '/author/{author_title}/page-{page}'
routePath: '/{author_title}/page-{page}'
_controller: 'Post::listPostsByAuthor'
_arguments:
author_title: author
Expand Down
4 changes: 2 additions & 2 deletions Configuration/Routes/BlogCategory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ routeEnhancers:
plugin: Category
routes:
-
routePath: '/category/{category_title}'
routePath: '/{category_title}'
_controller: 'Post::listPostsByCategory'
_arguments:
category_title: category
-
routePath: '/category/{category_title}/page-{page}'
routePath: '/{category_title}/page-{page}'
_controller: 'Post::listPostsByCategory'
_arguments:
category_title: category
Expand Down
4 changes: 2 additions & 2 deletions Configuration/Routes/BlogTag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ routeEnhancers:
plugin: Tag
routes:
-
routePath: '/tag/{tag_title}'
routePath: '/{tag_title}'
_controller: 'Post::listPostsByTag'
_arguments:
tag_title: tag
-
routePath: '/tag/{tag_title}/page-{page}'
routePath: '/{tag_title}/page-{page}'
_controller: 'Post::listPostsByTag'
_arguments:
tag_title: tag
Expand Down