Fix link rel from prev to previous
This commit is contained in:
parent
6556a0b9b1
commit
a737cb1008
|
@ -45,7 +45,7 @@ pub fn channel_for_posts_page(
|
|||
rel_link_for("first", project_name, 0),
|
||||
];
|
||||
if page_number > 0 {
|
||||
links.push(rel_link_for("prev", project_name, page_number - 1));
|
||||
links.push(rel_link_for("previous", project_name, page_number - 1));
|
||||
}
|
||||
if page.number_items > 0 {
|
||||
// Cohost API is wrong about the pagination so we can only guess. If there are posts, there might be more posts.
|
||||
|
|
Loading…
Reference in New Issue