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 --- pictures.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pictures.rb') diff --git a/pictures.rb b/pictures.rb index 246b0c5..252ca31 100755 --- a/pictures.rb +++ b/pictures.rb @@ -38,7 +38,6 @@ albums.each do |album| before = meta(images[(i - 1) % n], album)[:href] after = meta(images[(i + 1) % n], album)[:href] meta = meta img, album - html = File.read(File.join(SNIPPETS, 'head.html')) html += nav 'pictures' html += "
" @@ -65,7 +64,7 @@ albums.each do |album| FileUtils.mkdir_p www_dir images = File.readlines(album, chomp: true) n = images.size - html += "
" + html += "
" html += "

#{File.basename(album).gsub('_', ' ')}

\n" html += "' - html += '
' + html += '' end html += File.read(File.join(SNIPPETS, 'tail.html')) print_html 'pictures', html -- cgit v1.2.3