Trying to fix the footer, still needs work
added a few more default images
Added user image to post , on post page.
This commit is contained in:
2022-12-15 11:13:46 -06:00
parent 182f98403b
commit ae705760c8
4 changed files with 10 additions and 3 deletions

View File

@@ -24,8 +24,10 @@
<?php echo $page->content(); ?>
<h6 class="card-subtitle mb-3 text-muted text-right"><?php echo $page->date(); ?> - <?php echo $L->get('Reading time') . ': ' . $page->readingTime(); ?></h6>
<h6 class="card-subtitle mb-3 text-muted text-right"><?php echo 'Author: ' . $page->username(); ?></h6>
<h6 class="card-subtitle mb-3 text-right"><?php echo $page->date(); ?> - <?php echo $L->get('Reading time') . ': ' . $page->readingTime(); ?></h6>
<h6 class="card-subtitle mb-3 text-right">
<?php echo $page->user('nickname'); ?> &nbsp; <img src="<?php echo ($page->user('profilePicture')?$page->user('profilePicture'):Theme::src('img/no-image.jpg')) ?>" alt="mdo" width="45" height="45" class="rounded-circle">
</h6>
<div class="text-right">
<?php foreach (Theme::socialNetworks() as $key=>$label): ?>