Skip to content

Commit

Permalink
links in blogs views as oredered list
Browse files Browse the repository at this point in the history
  • Loading branch information
chmst committed Sep 27, 2020
1 parent 2f40e16 commit 7297e26
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 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">
<ol class="com-content-blog__links">
<?php foreach ($this->link_items as &$item) : ?>
<li class="com-content-category-blog__link">
<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
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>

0 comments on commit 7297e26

Please sign in to comment.