REFACTOR Using the post card classes to extend card functionnalities
This commit is contained in:
parent
9a15512554
commit
374db271fb
|
|
@ -13,7 +13,7 @@ $authors = get_field('authors', $ID);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<a href="<?php echo $link; ?>" class="post-card post-card--article <?php echo $cover ? 'has-cover' : ''; ?>">
|
<a href="<?php echo $link; ?>" class="post-card post-card--article post-card--has-numerotation <?php echo $cover ? 'has-cover post-card--has-cover post-card--has-thumbnail' : ''; ?>">
|
||||||
|
|
||||||
<?php if ($cover) : ?>
|
<?php if ($cover) : ?>
|
||||||
<div class="post-card__cover">
|
<div class="post-card__cover">
|
||||||
|
|
@ -25,6 +25,7 @@ $authors = get_field('authors', $ID);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="post-card__content">
|
<div class="post-card__content">
|
||||||
<div class="content-meta">
|
<div class="content-meta">
|
||||||
<span class="content-meta__type content-meta__type--article">Article</span>
|
<span class="content-meta__type content-meta__type--article">Article</span>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user