2018-02-01 22:43:46 +01:00
|
|
|
<!-- Post -->
|
|
|
|
<div class="card my-5 border-0">
|
2018-02-01 00:34:16 +01:00
|
|
|
|
2018-02-01 22:43:46 +01:00
|
|
|
<!-- Cover image -->
|
|
|
|
<?php if ($page->coverImage()): ?>
|
|
|
|
<img class="card-img-top mb-3 rounded-0" alt="Cover Image" src="<?php echo $page->coverImage(); ?>"/>
|
|
|
|
<?php endif ?>
|
2018-02-01 00:34:16 +01:00
|
|
|
|
2018-02-01 22:43:46 +01:00
|
|
|
<div class="card-body p-0">
|
|
|
|
<!-- Title -->
|
|
|
|
<a class="text-dark" href="<?php echo $page->permalink(); ?>">
|
2018-02-24 22:39:39 +01:00
|
|
|
<h1 class="title"><?php echo $page->title(); ?></h1>
|
2018-02-01 22:43:46 +01:00
|
|
|
</a>
|
2018-02-01 00:34:16 +01:00
|
|
|
|
2018-02-26 18:19:36 +01:00
|
|
|
<?php if (!$page->isStatic()): ?>
|
2018-02-01 22:43:46 +01:00
|
|
|
<!-- Creation date -->
|
2018-02-24 22:39:39 +01:00
|
|
|
<h6 class="card-subtitle mb-3 text-muted"><?php echo $page->date(); ?> - <?php echo $Language->get('Reading time') . ': ' . $page->readingTime() ?></h6>
|
2018-02-01 22:55:26 +01:00
|
|
|
<?php endif ?>
|
2018-02-01 00:34:16 +01:00
|
|
|
|
2018-02-01 22:43:46 +01:00
|
|
|
<!-- Full content -->
|
|
|
|
<?php echo $page->content(); ?>
|
2018-02-01 00:34:16 +01:00
|
|
|
</div>
|
2018-02-01 22:43:46 +01:00
|
|
|
|
|
|
|
</div>
|