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 @@ +

+ + + \ No newline at end of file diff --git a/_includes/common/donate-button.html b/_includes/common/donate-button.html new file mode 100644 index 0000000..5c432f2 --- /dev/null +++ b/_includes/common/donate-button.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/_includes/common/header-collapsed.html b/_includes/common/header-collapsed.html new file mode 100644 index 0000000..87ee269 --- /dev/null +++ b/_includes/common/header-collapsed.html @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/_includes/common/header.html b/_includes/common/header.html index b290957..c12a300 100644 --- a/_includes/common/header.html +++ b/_includes/common/header.html @@ -1,19 +1,24 @@ - +{% endif %} \ No newline at end of file diff --git a/_includes/common/logo.html b/_includes/common/logo.html index 47abd8e..a299c31 100644 --- a/_includes/common/logo.html +++ b/_includes/common/logo.html @@ -1 +1,5 @@ -

Reclaim
Futures

\ No newline at end of file +{% if include.size == 'small' %} +

Reclaim Futures 2020

+{% else %} +

Reclaim
Futures

+{% endif %} \ No newline at end of file diff --git a/_includes/common/navigation.html b/_includes/common/navigation.html index e813476..45a865a 100644 --- a/_includes/common/navigation.html +++ b/_includes/common/navigation.html @@ -1,6 +1,14 @@ +{% if include.menu %} + {% assign menu = include.menu %} +{% else %} + {% assign menu = site.data.menu %} +{% endif %} + +