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>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<?php echo $content ?? ''; ?>
|
<?php echo $wrappedContent ?? $content ?? ''; ?>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<div class="contain">
|
<div class="contain">
|
||||||
<?php if (!empty($trans['footer_social'])): ?>
|
<?php if (!empty($trans['footer.social'])): ?>
|
||||||
<p><?= $trans['footer_social'] ?></p>
|
<p><?= $trans['footer.social'] ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php $endTime = microtime(true); $pageLoadTime = round(($endTime - $startTime) * 1000, 2); ?>
|
<?php $endTime = microtime(true); $pageLoadTime = round(($endTime - $startTime) * 1000, 2); ?>
|
||||||
<?php if (!empty($trans['footer_handcoded'])): ?>
|
<?php if (!empty($trans['footer.handcoded'])): ?>
|
||||||
<p class="generated"><?= $trans['footer_handcoded'] ?> <?= $pageLoadTime ?><?= $trans['footer_page_time'] ?? 'ms' ?></p>
|
<p class="generated"><?= $trans['footer.handcoded'] ?> <?= $pageLoadTime ?><?= $trans['footer.page_time'] ?? 'ms' ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue