diff --git a/functions.php b/functions.php
index ced1a74..54b0b39 100644
--- a/functions.php
+++ b/functions.php
@@ -10,14 +10,14 @@ add_filter( 'the_excerpt', 'do_shortcode');
// OpenGraph image for FB/Twitter
// TODO: less hacky solution
function og_image( $tags ) {
- $og_image = esc_url("https://www.openfest.org/2020/wp-content/themes/initfest/img/2020_fb_preview.jpg");
+ $og_image = esc_url("https://www.openfest.org/2020/wp-content/themes/initfest/img/2021_fb_preview.jpg");
unset( $tags['og:image'] );
$tags['og:image'] = $og_image;
unset( $tags['og:image:width'] );
- $tags['og:image:width'] = 1200;
+ $tags['og:image:width'] = 678;
unset( $tags['og:image:height'] );
- $tags['og:image:height'] = 630;
+ $tags['og:image:height'] = 260;
unset( $tags['twitter:image'] );
$tags['twitter:image'] = $og_image;
diff --git a/header.php b/header.php
index 6b2e724..3f6b923 100644
--- a/header.php
+++ b/header.php
@@ -44,7 +44,10 @@
if ($blog_slug == '2019') {
echo '';
#echo '';
- } else {
+ } else if ($blog_slug == "2021") {
+ echo '';
+
+ } else {
echo '';
}
}
diff --git a/img/2021_fb_preview.jpg b/img/2021_fb_preview.jpg
new file mode 100644
index 0000000..21734d4
Binary files /dev/null and b/img/2021_fb_preview.jpg differ
diff --git a/img/banner-back-2021.jpg b/img/banner-back-2021.jpg
new file mode 100644
index 0000000..917f716
Binary files /dev/null and b/img/banner-back-2021.jpg differ
diff --git a/img/banner-bg-2021.png b/img/banner-bg-2021.png
new file mode 100644
index 0000000..bf06bf7
Binary files /dev/null and b/img/banner-bg-2021.png differ
diff --git a/img/banner-en-2021.png b/img/banner-en-2021.png
new file mode 100644
index 0000000..b87a473
Binary files /dev/null and b/img/banner-en-2021.png differ
diff --git a/img/logo-2021.png b/img/logo-2021.png
new file mode 100644
index 0000000..4b832f4
Binary files /dev/null and b/img/logo-2021.png differ
diff --git a/img/navbg-2021.png b/img/navbg-2021.png
new file mode 100644
index 0000000..9702673
Binary files /dev/null and b/img/navbg-2021.png differ
diff --git a/img/navbg.jpg b/img/navbg.jpg
index 733d93d..6ed770c 100644
Binary files a/img/navbg.jpg and b/img/navbg.jpg differ
diff --git a/schedule/config.php b/schedule/config.php
index 712ec29..a3c3056 100644
--- a/schedule/config.php
+++ b/schedule/config.php
@@ -63,6 +63,15 @@ function getSchedConfig($year = 2017) {
],
'hidden_language_tracks' => [59],
],
+ 2021 => [
+ 'conferenceId' => 8,
+ 'eventTypes' => [
+ 'lecture' => 16,
+ 'workshop' => 15,
+ ],
+ 'hidden_language_tracks' => [59],
+ ],
+
];
return array_merge($globalConfig, $config[$year]);