From: Ruben Beltran del Rio Date: Wed, 14 Feb 2024 21:40:09 +0000 (+0100) Subject: Remove unnecessary static files X-Git-Tag: 6.0.0~1 X-Git-Url: https://git.r.bdr.sh/rbdr/blog/commitdiff_plain/3c39d1553de92cd6cac891f2c3b186701ec60332?ds=inline Remove unnecessary static files --- diff --git a/static/css/style.css b/static/css/style.css deleted file mode 100644 index 0261e9d..0000000 --- a/static/css/style.css +++ /dev/null @@ -1,21 +0,0 @@ -canvas { - width: 64px; - height: 64px; - display: inline-block; - background-color: gainsboro; -} - -@media (prefers-color-scheme: dark) { - body { - color: white; - background-color: black; - } - - a { - color: #5dc1fd; - } - - a:visited { - color: #ed6eff; - } -} diff --git a/static/favicon.ico b/static/favicon.ico deleted file mode 100644 index 2399da6..0000000 Binary files a/static/favicon.ico and /dev/null differ diff --git a/static/favicon.png b/static/favicon.png deleted file mode 100644 index d4c3bb0..0000000 Binary files a/static/favicon.png and /dev/null differ diff --git a/static/images/header_background.png b/static/images/header_background.png deleted file mode 100644 index 6d1989f..0000000 Binary files a/static/images/header_background.png and /dev/null differ diff --git a/static/images/header_foreground.png b/static/images/header_foreground.png deleted file mode 100644 index e0fadd1..0000000 Binary files a/static/images/header_foreground.png and /dev/null differ diff --git a/static/js/blog.js b/static/js/blog.js deleted file mode 100644 index 68c13da..0000000 --- a/static/js/blog.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -/* globals window */ - -((w) => { - - const internals = { - // Application entry point, for now just band to keyboard - - main() { - - w.document.addEventListener('keydown', internals._onKeyDown); - }, - - // Handles key events to point to the correct blog post. - - _onKeyDown(e) { - - if (['1','2','3'].indexOf(e.key) > -1) { - w.location.hash = e.key; - } - } - }; - - w.addEventListener('load', internals.main); -})(window); diff --git a/templates/index.html b/templates/index.html index f1967e4..e28be64 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,8 +34,5 @@

There are no posts yet.

{{?}} -