public static function get_path_to_partial($partial): string
    {
        $partial = \str_replace(
            ['.php', '.'],
            ['', '/'],
            $partial
        );

        $path = \trailingslashit(Config::get('theme.templates_directory')) . 'partials/' . $partial . '.php';

        return $path;
    }