From 85c6172481beb92b17c89e7c1dfbac4c5b8b3310 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Fri, 26 Aug 2022 13:54:38 +0200 Subject: ForkAwesome reintroduced to fix compatibility of media buttons --- html.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'html.rb') diff --git a/html.rb b/html.rb index c4a7a5d..5ab6dae 100755 --- a/html.rb +++ b/html.rb @@ -50,13 +50,13 @@ def music_html Dir[File.join(dir, "*mp3")].each do |mp3| mp3 = "/" + mp3.sub(ROOT, '') html += "" - html += "#{File.basename(mp3, '.mp3')}" html += " - - " + " + html += "#{File.basename(mp3, '.mp3')[3..-1]}" + html += "" end html += "" bc = "https://pdp8.bandcamp.com/#{title.gsub(' ', '-')}" @@ -96,7 +96,7 @@ def video_html html += "" html += "
" end - html += '

© pdp8 Creative Commons Attribution 4.0 International License' + html += '

 © pdp8 Creative Commons Attribution 4.0 International License' html += File.read(File.join(SNIPPETS, "tail.html")) print_html "videos", html end -- cgit v1.2.3