reduce feeds to 5 posts
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
9dde6e89d2
commit
698d4cb3af
|
@ -87,7 +87,7 @@ pub async fn init(cfg: PathBuf) -> Result<State> {
|
|||
everything.sort();
|
||||
everything.reverse();
|
||||
|
||||
let everything: Vec<Post> = everything.into_iter().take(20).collect();
|
||||
let everything: Vec<Post> = everything.into_iter().take(5).collect();
|
||||
|
||||
let mut jfb = jsonfeed::Feed::builder()
|
||||
.title("Christine Dodrill's Blog")
|
||||
|
|
Loading…
Reference in New Issue