mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 05:26:22 +05:30
Before this pull request, the 404 and 404-search templates where handled as full HTML pages without the page context (layout). With this pull request both pages are rendered inside the selected themes layout. Additionally the 404 template now contains the "search form" and the homepage link. All Themes are already updated with the above changes.
14 lines
No EOL
539 B
PHP
14 lines
No EOL
539 B
PHP
<?php if (!empty($breadcrumb)): ?>
|
|
<div class="breadcrumb"><?php echo $breadcrumb ?></div>
|
|
<?php endif; ?>
|
|
<section class="inpage post section">
|
|
<div class="section-inner">
|
|
<div class="content">
|
|
<div class="item">
|
|
<h1 class="title">This page doesn't exist!</h1>
|
|
<p>Please search to find what you're looking for or visit our <a href="<?php echo site_url() ?>">homepage</a> instead.</p>
|
|
<?php echo search() ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|