<?php
/**
 * Output of the single game title.
 *
 * @package cyberpress/templates
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

$game = cyberpress()->get_the_game();

// phpcs:ignore
$title = $game->get_title();

if ( $title ) : ?>
    <header class="entry-header">
        <h1 class="entry-title">
            <?php echo esc_html( $title ); ?>
        </h1>
    </header><!-- .entry-header -->
<?php endif; ?>
