Merge pull request #1511 from belomaxorka/minor-fixes-themes
Minor improvements in default themes
This commit is contained in:
commit
573dc27447
4 changed files with 4 additions and 3 deletions
|
@ -741,7 +741,6 @@ function buildErrorPage() {
|
|||
$pageNotFound = New Page(false);
|
||||
$pageNotFound->setField('title', $L->get('page-not-found'));
|
||||
$pageNotFound->setField('content', $L->get('page-not-found-content'));
|
||||
$pageNotFound->setField('username', 'admin');
|
||||
}
|
||||
|
||||
return $pageNotFound;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</a>
|
||||
|
||||
<!-- Creation date -->
|
||||
<h6 class="card-subtitle mb-4 text-muted">
|
||||
<h6 class="card-subtitle mt-3 mb-4 text-muted">
|
||||
<i class="bi bi-calendar"></i><?php echo $page->date(); ?>
|
||||
<i class="ms-3 bi bi-clock-history"></i><?php echo $L->get('Reading time') . ': ' . $page->readingTime(); ?>
|
||||
</h6>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<?php if (!$page->isStatic() && !$url->notFound()): ?>
|
||||
<!-- Creation date -->
|
||||
<h6 class="card-subtitle mb-4 text-muted">
|
||||
<h6 class="card-subtitle mt-3 mb-4 text-muted">
|
||||
<i class="bi bi-calendar"></i><?php echo $page->date(); ?>
|
||||
<i class="ms-3 bi bi-clock-history"></i><?php echo $L->get('Reading time') . ': ' . $page->readingTime(); ?>
|
||||
</h6>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<!-- Load Bludit Plugins: Page Begin -->
|
||||
<?php execPluginsByHook('pageBegin'); ?>
|
||||
|
||||
<?php if (!$page->isStatic() && !$url->notFound()): ?>
|
||||
<div class="form-text mb-2">
|
||||
<!-- Page creation time -->
|
||||
<span class="pe-3"><i class="bi bi-calendar"></i><?php echo $page->date() ?></span>
|
||||
|
@ -15,6 +16,7 @@
|
|||
<!-- Page author -->
|
||||
<span><i class="bi bi-person"></i><?php echo $page->user('nickname') ?></span>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<!-- Page title -->
|
||||
<h1 class="page-title bold"><?php echo $page->title(); ?></h1>
|
||||
|
|
Loading…
Reference in a new issue