Fix should_show_sidebar()

This commit is contained in:
Vencislav Atanasov 2024-10-10 20:26:08 +03:00
parent c969dd7146
commit f83beafb52
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ require("schedule-config.php");
<section class="content grid"> <section class="content grid">
<?php <?php
function should_show_sidebar() { function should_show_sidebar() {
global $year, $pagename;
if ($year === '2021') { if ($year === '2021') {
return true; return true;
} }