fix: problem caused by not setting icon

pull/292/head
Seaton Jiang 2020-09-27 08:48:19 +08:00
parent 73d61d2249
commit 9aadf27a43
No known key found for this signature in database
GPG Key ID: C1086BAE716FF138
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
* 主题页眉
* @author Seaton Jiang <seaton@vtrois.com>
* @license MIT License
* @version 2020.06.21
* @version 2020.09.27
*/
?>
<!DOCTYPE html>
@ -18,7 +18,7 @@
<meta name="description" itemprop="description" content="<?php echo description(); ?>">
<meta name="theme-color" content="<?php echo kratos_option('g_chrome', '#282a2c'); ?>">
<meta itemprop="image" content="<?php echo share_thumbnail_url(); ?>"/>
<link rel="shortcut icon" href="<?php echo kratos_option('g_icon'); ?>">
<?php if (kratos_option('g_icon')) echo '<link rel="shortcut icon" href="' . kratos_option("g_icon") .'">' ?>
<?php wp_head(); wp_print_scripts('jquery'); mourning(); ?>
</head>
<?php flush(); ?>