From a737cb1008acf99e1d8d1d68c05a84d0f730c1e0 Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Mon, 31 Oct 2022 22:57:54 -0500 Subject: [PATCH] Fix link rel from prev to previous --- src/syndication.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syndication.rs b/src/syndication.rs index 32446cb..8f7a047 100644 --- a/src/syndication.rs +++ b/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.