Update translation keys to use dot notation
Update content rendering to use wrapped content fallback
This commit is contained in:
parent
443c44d095
commit
b452c73de3
1 changed files with 5 additions and 5 deletions
|
|
@ -123,17 +123,17 @@ function getActiveClass($href) { return rtrim(parse_url($_SERVER['REQUEST_URI'],
|
|||
</header>
|
||||
|
||||
<main>
|
||||
<?php echo $content ?? ''; ?>
|
||||
<?php echo $wrappedContent ?? $content ?? ''; ?>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="contain">
|
||||
<?php if (!empty($trans['footer_social'])): ?>
|
||||
<p><?= $trans['footer_social'] ?></p>
|
||||
<?php if (!empty($trans['footer.social'])): ?>
|
||||
<p><?= $trans['footer.social'] ?></p>
|
||||
<?php endif; ?>
|
||||
<?php $endTime = microtime(true); $pageLoadTime = round(($endTime - $startTime) * 1000, 2); ?>
|
||||
<?php if (!empty($trans['footer_handcoded'])): ?>
|
||||
<p class="generated"><?= $trans['footer_handcoded'] ?> <?= $pageLoadTime ?><?= $trans['footer_page_time'] ?? 'ms' ?></p>
|
||||
<?php if (!empty($trans['footer.handcoded'])): ?>
|
||||
<p class="generated"><?= $trans['footer.handcoded'] ?> <?= $pageLoadTime ?><?= $trans['footer.page_time'] ?? 'ms' ?></p>
|
||||
<?php endif; ?>
|
||||
<p>
|
||||
<?php
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue