CoreFiles by mySites.guru
blog_links.php26 lines, 764 bytes, from Joomla_5.2.3-Stable-Full_Package.zip
Raw History Compare with 5.2.2
md5
a1567ccde19a99ce6c6afd0012b1b17f
sha1
6428a8e2c94bbc6791d499b9585c3bc220638369
sha256
4a91c5b4e451dc5a7c131431af8ca6911567996a89382a17109dd8d67f108632
<?php

/**
 * @package     Joomla.Site
 * @subpackage  com_content
 *
 * @copyright   (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Router\Route;
use Joomla\Component\Content\Site\Helper\RouteHelper;

/** @var \Joomla\Component\Content\Site\View\Category\HtmlView $this */
?>

<ol class="com-content-blog__links">
    <?php foreach ($this->link_items as $item) : ?>
        <li class="com-content-blog__link">
            <a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
                <?php echo $item->title; ?></a>
        </li>
    <?php endforeach; ?>
</ol>

The same content is in 77 releases, Joomla 5.2.0-alpha1 to 6.1.0-beta3. See them all, or every version of this file.