forked from ZwiiCMS-Team/ZwiiCMS
News : titre d'article h1 en h2 pour respecter la hiérarchie
This commit is contained in:
parent
1fe067aa25
commit
3908d75240
@ -2,9 +2,9 @@
|
||||
<div class="row">
|
||||
<?php foreach($module::$news as $newsId => $news): ?>
|
||||
<div class="col<?php echo $module::$nbrCol ;?>" >
|
||||
<h1 class="newsTitle" id="<?php echo $newsId;?>">
|
||||
<h2 class="newsTitle" id="<?php echo $newsId;?>">
|
||||
<?php echo '<a href="'. helper::baseUrl(true) . $this->getUrl(0) . '/' . $newsId . '">' . $news['title'] . '</a>'; ?>
|
||||
</h1>
|
||||
</h2>
|
||||
<div class="newsContent newsBlur">
|
||||
<?php echo $news['content']; ?>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user