We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fe3b68 commit 10890aeCopy full SHA for 10890ae
src/pagination/paginator.rs
@@ -45,7 +45,7 @@ impl Paginator {
45
total_pages: usize,
46
index_title: Option<&liquid::model::Value>,
47
) -> Result<()> {
48
- self.first_index_permalink = doc.url_path.to_string();
+ self.first_index_permalink = doc.url_path.clone();
49
self.last_index_permalink = interpret_permalink(config, doc, total_pages, index_title)?;
50
Ok(())
51
}
0 commit comments