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="col10">
<div class="blogDate">
@ -109,3 +110,4 @@
</div>
</div>
<?php echo $module::$pages; ?>
</article>

View File

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