diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..de377bf --- /dev/null +++ b/.htaccess @@ -0,0 +1 @@ +ErrorDocument 404 /404.html diff --git a/_config.yml b/_config.yml index ad91f6d..9aa14c2 100644 --- a/_config.yml +++ b/_config.yml @@ -26,6 +26,8 @@ description: >- # this means to ignore newlines until "baseurl:" baseurl: "" # the subpath of your site, e.g. /blog url: "" # the base hostname & protocol for your site, e.g. http://example.com permalink: /:categories/news/:year/:title:output_ext +discordID: 737678270924849183 +twitchChannel: bnjmnjns # Build settings diff --git a/_data/menu.yml b/_data/menu.yml index 4a23706..5878d9f 100644 --- a/_data/menu.yml +++ b/_data/menu.yml @@ -27,10 +27,10 @@ fr: name: intervenants url: /rf2020/participants -# - donate: -# en: -# name: donate -# url: "/donate" -# fr: -# name: faire un don -# url: /donate +- donate: + en: + name: donate + url: "/donate" + fr: + name: faire un don + url: /donate diff --git a/_data/watch-menu.yml b/_data/watch-menu.yml new file mode 100644 index 0000000..40383da --- /dev/null +++ b/_data/watch-menu.yml @@ -0,0 +1,14 @@ +- program: + en: + name: program + url: "#program" + fr: + name: programme + url: "#program" +- donate: + en: + name: donate + url: "/donate" + fr: + name: faire un don + url: "/donate" diff --git a/_includes/common/banner.html b/_includes/common/banner.html index ea6d189..a3e2d3d 100644 --- a/_includes/common/banner.html +++ b/_includes/common/banner.html @@ -29,7 +29,9 @@ function cdText() { const cd = countdown(new Date(), new Date("Wed Sep 18 2020 10:30:00 GMT+0200 (Central European Summer Time)"), 0, 3).toString(); - cdTime.innerHTML = cd; + if(cdTime.innerHTML !== cd) { + cdTime.innerHTML = cd; + } if (!bannerVisible) { banner.classList.remove('hidden') diff --git a/_includes/common/clock.html b/_includes/common/clock.html new file mode 100644 index 0000000..0a2314c --- /dev/null +++ b/_includes/common/clock.html @@ -0,0 +1,19 @@ +