Fix should_show_sidebar()
This commit is contained in:
parent
c969dd7146
commit
f83beafb52
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue