about summary refs log tree commit diff
path: root/kittybox-rs/templates/src/templates.rs
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/templates/src/templates.rs')
-rw-r--r--kittybox-rs/templates/src/templates.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/kittybox-rs/templates/src/templates.rs b/kittybox-rs/templates/src/templates.rs
index 9826bfc..288669d 100644
--- a/kittybox-rs/templates/src/templates.rs
+++ b/kittybox-rs/templates/src/templates.rs
@@ -63,7 +63,7 @@ markup::define! {
             }
         }
     }
-    MainPage<'a>(feed: &'a serde_json::Value, card: &'a serde_json::Value, webring: bool) {
+    MainPage<'a>(feed: &'a serde_json::Value, card: &'a serde_json::Value, cursor: Option<&'a str>, webring: bool) {
         .sidebyside {
             @VCard { card }
             #dynamicstuff {
@@ -90,7 +90,7 @@ markup::define! {
                 }
             }
         }
-        @Feed { feed }
+        @Feed { feed, cursor: *cursor }
     }
     ErrorPage(code: StatusCode, msg: Option<String>) {
         h1 { @format!("HTTP {code}") }