Browse Source

Fix link rel from prev to previous

main
Leonora Tindall 1 year ago
parent
commit
a737cb1008
Signed by: nora GPG Key ID: 7A8B52EC67E09AAF
  1. 2
      src/syndication.rs

2
src/syndication.rs

@ -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…
Cancel
Save