Commit 1967f9b3 authored by Caroline Henriksen's avatar Caroline Henriksen
Browse files

Update 2021 js file

parent d42d46c7
jQuery(() => {
// Add GUADEC Header if it is GUADEC
if (jQuery('.conference-title-link').text().indexOf('GUADEC 2021') > -1) {
//const guadecDate = window.guadecDate ? window.guadecDate : 'July 22<sup>nd</sup> – 28<sup>th</sup>';
const guadecDate = window.guadecDate ? window.guadecDate : '2021';
const guadecLocation = window.guadecLocation ? window.guadecLocation : 'Zacatecas, Mexico';
const guadecDate = window.guadecDate ? window.guadecDate : 'July 21<sup>st</sup> – 25<sup>th</sup>, 2021';
jQuery('.confheader').html('<div class="container">\n' +
' <div class="row hero-home">\n' +
......@@ -20,10 +18,6 @@ jQuery(() => {
' GUADEC\n' +
'\n' +
' </div>\n' +
' <div class="h4">\n' +
' ' + guadecLocation + '\n' +
'\n' +
' </div>\n' +
' <div class="h5">\n' +
' ' + guadecDate + '\n' +
'\n' +
......@@ -33,4 +27,4 @@ jQuery(() => {
' </div>\n' +
' </div>');
}
});
\ No newline at end of file
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment