Skip to content

Commit

Permalink
equal layouts in category and featured
Browse files Browse the repository at this point in the history
  • Loading branch information
chmst committed Sep 27, 2020
1 parent 7297e26 commit 61f6b1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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
2 changes: 1 addition & 1 deletion components/com_content/tmpl/category/blog_links.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
?>

<ol class="com-content-blog__links">
<?php foreach ($this->link_items as &$item) : ?>
<?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>
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

0 comments on commit 61f6b1f

Please sign in to comment.