From 5f860c66d300654934848aee1abe8e5c0d41836e Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 11 Oct 2023 16:25:37 -0400 Subject: Added blog archive The path to blog posts is now "blog" instead of "says", btw. --- app/views/blogs/index.atom.builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/blogs/index.atom.builder') diff --git a/app/views/blogs/index.atom.builder b/app/views/blogs/index.atom.builder index 72deba2..a05f29d 100644 --- a/app/views/blogs/index.atom.builder +++ b/app/views/blogs/index.atom.builder @@ -2,7 +2,7 @@ atom_feed do |feed| feed.title("Four Island") feed.updated(@blogs[0].published_at) if @blogs.length > 0 - @blogs.each do |blog| + @blogs.limit(10).each do |blog| feed.entry(blog, published: blog.published_at) do |entry| entry.title(blog.title) entry.content(markdown(blog.body), type: 'html') -- cgit 1.4.1