aboutsummaryrefslogtreecommitdiffhomepage
path: root/wruby.rb
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2025-09-11 13:39:00 -0400
committerBradley Taunt <bt@btxx.org>2025-09-11 13:39:00 -0400
commit8ae182a4c287b45138836370b258cfcba19c0810 (patch)
tree011efe97b5ce3a7ef120c92d2595783416b13174 /wruby.rb
parentc749e3270a2f899dbc0a4f4b00881f8b55725ae5 (diff)
Ongoing changes, style updates, draft, rework some pages
Diffstat (limited to 'wruby.rb')
-rw-r--r--wruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/wruby.rb b/wruby.rb
index d4f49e6..f90f2d5 100644
--- a/wruby.rb
+++ b/wruby.rb
@@ -82,7 +82,7 @@ def generate_index(posts, header_content, footer_content, root_index_file, post_
index_content = header + root_html + "<ul class=\"posts\">\n"
posts.first(post_count).each { |post| index_content << "<li><span>#{post[:date]}</span><a href='/#{posts_dir}/#{post[:link]}'>#{post[:title]}</a></li>\n" }
- index_content << "</ul>\n<p><a href='/#{posts_dir}'>View all posts &rarr;</a></p>\n" + footer_content
+ index_content << footer_content
File.write("#{output_dir}/index.html", index_content)
end