diff --git a/src/helpers.php b/src/helpers.php index 395744a9b6..4a4f0cbc64 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -15,24 +15,6 @@ function template_unwrap($slug = '', $context = []) { } } -/** - * @param array $context - */ -function template_sidebar($context = []) { - template_part('sidebar', $context); -} - -/** - * @param $template - * @param array $context - */ -function template_part($template, $context = []) { - if ($file = (new Template($template, $context))->locate()) { - /** @noinspection PhpIncludeInspection */ - include $file; - } -} - /** * @param $filename * @return string diff --git a/templates/404.php b/templates/404.php index 23af1ece56..5ef01009db 100644 --- a/templates/404.php +++ b/templates/404.php @@ -1,4 +1,4 @@ - +