<?php get_header(); ?>
<?php
$obj = get_queried_object();
$fields = '';
$icon = '<svg><use xlink:href="#tag"></use></svg>';
?>
<!-- start: #archives-->
<main id="archives" class="main">
    
    <div class="grid-container section">
        <div class="tag-description section textcenter">
            <div class="grid-container grid-small">
                <h1 class="title large white fw-bold <?php if(!term_description()) echo 'nm-bottom'; ?>"><?php single_tag_title(); ?></h1>
                <?php if( term_description() ): ?>
                    <p><?php echo wp_kses_post( term_description() ); ?></p>
                <?php endif; ?>
                <span class="icon"><?php echo wp_kses( $icon, breek_lite_svg_kses_ruleset() ); ?></span>
                <div class="clear"></div>
            </div>
            <div class="overlay"></div>
        </div>
    </div>

    <?php get_template_part('partials/home-blocks/grid-posts'); ?>

</main>
<!-- end: #archives -->
<?php get_footer(); ?>
