From 564ff3ad30c88544e76d218678bbed43c34bfa8c Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Tue, 10 Sep 2019 09:17:04 +0200 Subject: [PATCH] fix deletion of outdated user keys --- homepage/CNAME | 1 - homepage/pelicanconf.py | 1 - homepage/theme/static/scripts/fade.js | 8 ++++---- homepage/theme/static/scripts/jump.js | 0 4 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 homepage/CNAME delete mode 100644 homepage/theme/static/scripts/jump.js diff --git a/homepage/CNAME b/homepage/CNAME deleted file mode 100644 index 8f7cb2a..0000000 --- a/homepage/CNAME +++ /dev/null @@ -1 +0,0 @@ -www.offen.dev diff --git a/homepage/pelicanconf.py b/homepage/pelicanconf.py index 1fd3ff4..9a786bf 100644 --- a/homepage/pelicanconf.py +++ b/homepage/pelicanconf.py @@ -43,4 +43,3 @@ DIRECT_TEMPLATES = [] GITHUB_ORG = 'https://github.com/offen' CONTACT_EMAIL = 'mail@offen.dev' PATREON_URL = 'https://www.patreon.com/bePatron?u=21484999' -AUDITORIUM_SCRIPT = 'http://localhost:8080/auditorium/index.js' diff --git a/homepage/theme/static/scripts/fade.js b/homepage/theme/static/scripts/fade.js index 0490c5b..44b4f7e 100644 --- a/homepage/theme/static/scripts/fade.js +++ b/homepage/theme/static/scripts/fade.js @@ -1,10 +1,10 @@ ;(function ($) { $(document).ready(function () { $(window).scroll(function () { - var scrollProgress = parseInt($(window).scrollTop(), 10) - if ($(window).width() > 960) { - $('body.index .brand').css('opacity', Math.min(scrollProgress / 100, 1)) - } + if ($(window).width() > 960) { + var scrollProgress = parseInt($(window).scrollTop(), 10) + $('body.index .brand').css('opacity', Math.min(scrollProgress / 100, 1)) + } }) }) })(window.jQuery) diff --git a/homepage/theme/static/scripts/jump.js b/homepage/theme/static/scripts/jump.js deleted file mode 100644 index e69de29..0000000