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 --- lib.rb | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib.rb') diff --git a/lib.rb b/lib.rb index 77f350b..42ec515 100755 --- a/lib.rb +++ b/lib.rb @@ -42,17 +42,6 @@ def nav(cat) html end -def file_html(basename) - path = File.join(SNIPPETS, basename + '.html') - html = File.read(File.join(SNIPPETS, 'head.html')) - html += nav basename - html += "
" - html += File.read(path) - html += '
' - html += File.read(File.join(SNIPPETS, 'tail.html')) - print_html basename, html -end - def print_html(basename, html) out = File.join(WWW_DIR, basename + '.html') puts out -- cgit v1.2.3