Fix link rel from prev to previous

This commit is contained in:
Leonora Tindall 2022-10-31 22:57:54 -05:00
parent 6556a0b9b1
commit a737cb1008
Signed by: nora
GPG Key ID: 7A8B52EC67E09AAF
1 changed files with 1 additions and 1 deletions

View File

@ -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.