diff options
| author | Bradley Taunt <bt@btxx.org> | 2025-09-11 13:39:00 -0400 |
|---|---|---|
| committer | Bradley Taunt <bt@btxx.org> | 2025-09-11 13:39:00 -0400 |
| commit | 8ae182a4c287b45138836370b258cfcba19c0810 (patch) | |
| tree | 011efe97b5ce3a7ef120c92d2595783416b13174 /wruby.rb | |
| parent | c749e3270a2f899dbc0a4f4b00881f8b55725ae5 (diff) | |
Ongoing changes, style updates, draft, rework some pages
Diffstat (limited to 'wruby.rb')
| -rw-r--r-- | wruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 →</a></p>\n" + footer_content + index_content << footer_content File.write("#{output_dir}/index.html", index_content) end |
