reduce feeds to 5 posts

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-09-06 12:04:17 -04:00
parent 9dde6e89d2
commit 698d4cb3af
1 changed files with 1 additions and 1 deletions

View File

@ -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")