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">
|
<div class="row">
|
||||||
<?php foreach($module::$news as $newsId => $news): ?>
|
<?php foreach($module::$news as $newsId => $news): ?>
|
||||||
<div class="col<?php echo $module::$nbrCol ;?>" >
|
<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>'; ?>
|
<?php echo '<a href="'. helper::baseUrl(true) . $this->getUrl(0) . '/' . $newsId . '">' . $news['title'] . '</a>'; ?>
|
||||||
</h1>
|
</h2>
|
||||||
<div class="newsContent newsBlur">
|
<div class="newsContent newsBlur">
|
||||||
<?php echo $news['content']; ?>
|
<?php echo $news['content']; ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user