Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/com_content/tmpl/category/blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<?php endif; ?>

<?php if (!empty($this->link_items)) : ?>
<div class="com-content-category-blog__items-more items-more">
<div class="items-more">
<?php echo $this->loadTemplate('links'); ?>
</div>
<?php endif; ?>
Expand Down
6 changes: 3 additions & 3 deletions components/com_content/tmpl/category/blog_links.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

?>

<ol class="com-content-category-blog__links nav nav-tabs nav-stacked">
<?php foreach ($this->link_items as &$item) : ?>
<li class="com-content-category-blog__link">
<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>
Expand Down
2 changes: 1 addition & 1 deletion components/com_content/tmpl/featured/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

<?php if (!empty($this->link_items)) : ?>
<div class="items-more">
<?php echo $this->loadTemplate('links'); ?>
<?php echo $this->loadTemplate('links'); ?>
</div>
<?php endif; ?>

Expand Down
14 changes: 7 additions & 7 deletions components/com_content/tmpl/featured/default_links.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
use Joomla\Component\Content\Site\Helper\RouteHelper;

?>
<ol class="nav nav-tabs nav-stacked">
<?php foreach ($this->link_items as &$item) : ?>
<li>
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
<?php echo $item->title; ?></a>
</li>
<?php endforeach; ?>
<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>