<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/** @var $block \Magento\Catalog\Block\Category\Rss\Link */
?>
<?php if ($block->isRssAllowed() && $block->getLink() && $block->isTopCategory()) :?>
    <a href="<?= $block->escapeUrl($block->getLink()) ?>"
       class="action link rss"><span><?= $block->escapeHtml($block->getLabel()) ?></span></a>
<?php endif; ?>
