How to show tag list from blog

How do I show a list of blog posts with the same Tag, taken from the tag list in the post. At present the URL just returns to the blog page.

<div class="tag">
           <ul class="tags">
                   <?php foreach ($page->tags()->split() as $tag): ?>
                    <li class="tag-item"><a href="<?= url('blog', ['params' => ['tag' => $tag]]) ?>">
                    <?= html($tag) ?></a></li>
                    <?php endforeach ?>

Check out this recipe: