diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-11 16:25:37 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-11 16:25:37 -0400 |
commit | 5f860c66d300654934848aee1abe8e5c0d41836e (patch) | |
tree | 73c6deda7baa751279f7b4fb9a0f10572cf92f0f /app/views/blogs/index.atom.builder | |
parent | 192705645135aa20951d78949d7e49e4bad58974 (diff) | |
download | thoughts-5f860c66d300654934848aee1abe8e5c0d41836e.tar.gz thoughts-5f860c66d300654934848aee1abe8e5c0d41836e.tar.bz2 thoughts-5f860c66d300654934848aee1abe8e5c0d41836e.zip |
Added blog archive
The path to blog posts is now "blog" instead of "says", btw.
Diffstat (limited to 'app/views/blogs/index.atom.builder')
-rw-r--r-- | app/views/blogs/index.atom.builder | 2 |
1 files changed, 1 insertions, 1 deletions
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| | |||
2 | feed.title("Four Island") | 2 | feed.title("Four Island") |
3 | feed.updated(@blogs[0].published_at) if @blogs.length > 0 | 3 | feed.updated(@blogs[0].published_at) if @blogs.length > 0 |
4 | 4 | ||
5 | @blogs.each do |blog| | 5 | @blogs.limit(10).each do |blog| |
6 | feed.entry(blog, published: blog.published_at) do |entry| | 6 | feed.entry(blog, published: blog.published_at) do |entry| |
7 | entry.title(blog.title) | 7 | entry.title(blog.title) |
8 | entry.content(markdown(blog.body), type: 'html') | 8 | entry.content(markdown(blog.body), type: 'html') |