ajoute balise <article>

This commit is contained in:
fredtempez 2020-09-02 09:08:27 +02:00
parent 6dd3f034cb
commit 0ffe4f7b40
2 changed files with 111 additions and 107 deletions

View File

@ -1,3 +1,4 @@
<article>
<div class="row"> <div class="row">
<div class="col10"> <div class="col10">
<div class="blogDate"> <div class="blogDate">
@ -109,3 +110,4 @@
</div> </div>
</div> </div>
<?php echo $module::$pages; ?> <?php echo $module::$pages; ?>
</article>

View File

@ -21,6 +21,7 @@
</a> </a>
</div> </div>
<div class="col9"> <div class="col9">
<article>
<h1 class="blogTitle"> <h1 class="blogTitle">
<a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>"> <a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>">
<?php echo $article['title']; ?> <?php echo $article['title']; ?>
@ -40,6 +41,7 @@
<?php echo helper::subword(strip_tags($article['content']), 0, 400); ?>... <?php echo helper::subword(strip_tags($article['content']), 0, 400); ?>...
<a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>">Lire la suite</a> <a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>">Lire la suite</a>
</p> </p>
</article>
</div> </div>
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>