diff options
author | pdp8 <pdp8@pdp8.info> | 2024-07-29 16:11:54 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2024-07-29 16:11:54 +0200 |
commit | 6ab3d7e33e7b09158b2ccda67c9124e4471a3425 (patch) | |
tree | 3891e587d0d20be1e55ee4a055b672aa10407b39 /file.rb | |
parent | cd53a2fe5fc8baf9750fbd2d9b0b4c855d8694a7 (diff) |
section, footer instead of divs
Diffstat (limited to 'file.rb')
-rwxr-xr-x | file.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,8 +5,8 @@ path = ARGV[0] basename = File.basename(path, File.extname(path)) html = File.read(File.join(SNIPPETS, 'head.html')) html += nav basename -html += "<div class='post'>" +html += '<section>' html += File.read(path) -html += '</div>' +html += '</section>' html += File.read(File.join(SNIPPETS, 'tail.html')) print_html basename, html |