From 6ab3d7e33e7b09158b2ccda67c9124e4471a3425 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Mon, 29 Jul 2024 16:11:54 +0200 Subject: section, footer instead of divs --- music.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'music.rb') diff --git a/music.rb b/music.rb index c01faf8..de6a7ed 100755 --- a/music.rb +++ b/music.rb @@ -7,7 +7,7 @@ html = File.read(File.join(SNIPPETS, 'head.html')) html += nav 'music' music.each do |dir| date = File.basename(dir).split('_')[0] - html += "
" + html += "
" title = File.basename(dir).split('_')[1..-1].join(' ') html += "

#{title}

" html += File.read(File.join(dir, 'README')).chomp.gsub("\n\n", '

').gsub("\n", '
') # + '

' @@ -40,7 +40,7 @@ music.each do |dir| "https://pdp8.bandcamp.com/album/#{title.gsub(' ', '-')}" end html += "

Bandcamp: #{bc}" - html += '

' + html += '' end html += File.read(File.join(SNIPPETS, 'tail.html')) print_html 'music', html -- cgit v1.2.3