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 ++++---- snippets/head.html | 1 + snippets/pictures.html | 8 ++++---- snippets/slideshow.js | 4 ++-- snippets/style.css | 2 +- 5 files changed, 12 insertions(+), 11 deletions(-) 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 diff --git a/snippets/head.html b/snippets/head.html index daf67fa..78f38da 100644 --- a/snippets/head.html +++ b/snippets/head.html @@ -6,6 +6,7 @@ pdp8 + diff --git a/snippets/pictures.html b/snippets/pictures.html index ae61260..359de8d 100644 --- a/snippets/pictures.html +++ b/snippets/pictures.html @@ -4,13 +4,13 @@

- - ⏩︎ + +

© pdp8 Creative Commons Attribution 4.0 International License

- - + +