position commentaire et couleur en arrière plan

This commit is contained in:
fredtempez 2019-02-22 12:19:38 +01:00
parent 009f5872e4
commit f74fd63295
2 changed files with 11 additions and 8 deletions

View File

@ -104,6 +104,7 @@ Signature dans les articles blog et news
#blogDate { #blogDate {
font-size:0.8em; font-size:0.8em;
font-style: italic; font-style: italic;
color: grey;
} }
.signature { .signature {

View File

@ -14,20 +14,22 @@
<?php echo $article['title']; ?> <?php echo $article['title']; ?>
</a> </a>
</h1> </h1>
<div id="blogDate">
<i class="far fa-calendar-alt"></i>
<?php echo utf8_encode(strftime('%d %B %Y', $article['publishedOn'])); ?>
</div>
<p class="blogContent">
<?php echo helper::subword(strip_tags($article['content']), 0, 300); ?>...
<a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>">Lire la suite</a>
</p>
<div class="blogComment"> <div class="blogComment">
<a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>#comment"> <a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>#comment">
<?php echo count($article['comment']); ?> <?php echo count($article['comment']); ?>
</a> </a>
<?php echo template::ico('comment', 'left'); ?> <?php echo template::ico('comment', 'left'); ?>
</div>
<div id="blogDate">
<i class="far fa-calendar-alt"></i>
<?php echo utf8_encode(strftime('%d %B %Y', $article['publishedOn'])); ?>
</div> </div>
<p class="blogContent">
<?php echo helper::subword(strip_tags($article['content']), 0, 300); ?>...
<a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>">Lire la suite</a>
</p>
</div> </div>
</div> </div>
<hr /> <hr />