Skip to content

Commit 9d5e0a5

Browse files
Merge pull request #232 from Jkkoi/patch-1
404 页面添加网页图标
2 parents 467818c + 663768b commit 9d5e0a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

404.php

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<head>
1313
<meta charset="<?php bloginfo( 'charset' ); ?>">
1414
<meta name="viewport" content="width=device-width, initial-scale=1">
15+
<link rel="shortcut icon" href="<?php echo akina_option('favicon_link', ''); ?>"/>
1516
<title itemprop="name"><?php global $page, $paged;wp_title( '-', true, 'right' );
1617
bloginfo( 'name' );$site_description = get_bloginfo( 'description', 'display' );
1718
if ( $site_description && ( is_home() || is_front_page() ) ) echo " - $site_description";if ( $paged >= 2 || $page >= 2 ) echo ' - ' . sprintf( __( 'page %s'), max( $paged, $page ) );/*第 %s 页*/?>

0 commit comments

Comments
 (0)