mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 21:16:23 +05:30
Update functions.php
This commit is contained in:
parent
4e81311cc2
commit
c445c6c162
1 changed files with 2 additions and 1 deletions
|
|
@ -2891,9 +2891,10 @@ function not_found($request = null)
|
||||||
|
|
||||||
header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found");
|
header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found");
|
||||||
render('404', array(
|
render('404', array(
|
||||||
'title' => i18n('This_page_doesnt_exist') . ' - ' . blog_title(),
|
'title' => generate_title('is_default', i18n('This_page_doesnt_exist')),
|
||||||
'description' => i18n('This_page_doesnt_exist'),
|
'description' => i18n('This_page_doesnt_exist'),
|
||||||
'canonical' => site_url(),
|
'canonical' => site_url(),
|
||||||
|
'metatags' => generate_meta(null, null),
|
||||||
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » ' . i18n('This_page_doesnt_exist'),
|
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » ' . i18n('This_page_doesnt_exist'),
|
||||||
'bodyclass' => 'error-404',
|
'bodyclass' => 'error-404',
|
||||||
'is_404' => true,
|
'is_404' => true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue