mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 12:06: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.
16 lines
600 B
PHP
16 lines
600 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">Search results not found!</h1>
|
|
<p>Please search again, or would you like to try our <a href="<?php echo site_url() ?>">homepage</a> instead?</p>
|
|
<div class="search-404">
|
|
<?php echo search() ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|