about summary refs log tree commit diff
path: root/kittybox-rs/templates/src/mf2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/templates/src/mf2.rs')
-rw-r--r--kittybox-rs/templates/src/mf2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/kittybox-rs/templates/src/mf2.rs b/kittybox-rs/templates/src/mf2.rs
index 0e03dc6..7f943d3 100644
--- a/kittybox-rs/templates/src/mf2.rs
+++ b/kittybox-rs/templates/src/mf2.rs
@@ -344,7 +344,7 @@ markup::define! {
             @PhotoGallery { photos: food["properties"]["photo"].as_array() }
         }
     }
-    Feed<'a>(feed: &'a serde_json::Value) {
+    Feed<'a>(feed: &'a serde_json::Value, cursor: Option<&'a str>) {
         div."h-feed" {
             div.metadata {
                 @if feed["properties"]["name"][0].is_string() {
@@ -359,7 +359,7 @@ markup::define! {
                 @for child in feed["children"].as_array().unwrap() {
                     @match child["type"][0].as_str().unwrap() {
                         "h-entry" => { @Entry { post: child } }
-                        "h-feed" => { @Feed { feed: child } }
+                        "h-feed" => { @Feed { feed: child, cursor: None } }
                         "h-food" => { @Food { food: child } }
                         //"h-event" => { }
                         "h-card" => { @VCard { card: child } }