diff options
| author | eltrac <hi@eltr.ac> | 2026-11-09 11:48:59 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-11-09 11:48:59 +0800 |
| commit | 39c8f43dbc915299c0e6191a87582d6b4e463241 (patch) | |
| tree | 7c13fd9fdaa547eb5f3bffcd52a83d30fa644279 | |
| parent | 38c6ed15c58ee0c490ec363fdd6c8e7e8d12b2ec (diff) | |
includes/head: 删除 <link rel="icon" ...> 的多余属性
| -rw-r--r-- | includes/head.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/head.php b/includes/head.php index 5d1bbf7..e30e505 100644 --- a/includes/head.php +++ b/includes/head.php @@ -40,7 +40,7 @@ if($GLOBALS['miraclesIfCompressHTML']=='on') ob_start(); //ob 截取开始 ?> else: $this->options->bannerUrl(); endif;}?>" /> - <link rel="icon" id="icon" type="image/png" href="<?php if($this->options->favicon):$this->options->favicon();else:echo Utils::indexTheme('favicon.ico');endif; ?>" /> + <link rel="icon" href="<?php if($this->options->favicon):$this->options->favicon();else:echo Utils::indexTheme('favicon.ico');endif; ?>" /> <?php $this->header('generator=&pingback=&xmlrpc=&wlw=&commentReply=&description=&antiSpam='); ?> <?php $this->options->headerEcho(); ?> <!-- css --> @@ -64,4 +64,4 @@ if($GLOBALS['miraclesIfCompressHTML']=='on') ob_start(); //ob 截取开始 ?> <?php endif; ?><style>.body-dark .pio-action .pio-home{background-image: url(<?php Utils::indexTheme('images/icons/home.png'); ?>);}.body-dark .pio-action .pio-close{background-image: url(<?php Utils::indexTheme('images/icons/remove.png'); ?>);}.body-dark .pio-action .pio-skin{background-image: url(<?php Utils::indexTheme('images/icons/skin.png'); ?>);}.body-dark .pio-action .pio-info{background-image: url(<?php Utils::indexTheme('images/icons/info.png'); ?>);}.body-dark .pio-action .pio-night{background-image: url(<?php Utils::indexTheme('images/icons/night.png'); ?>);} .comment-by-author > .comment-body-inner > .comment-main > .comment-meta > .comment-date:before {content: '<?php gtecho('commentListTexts','byAuthor'); ?>'!important}<?php $this->options->cssEcho(); ?></style> </head> - <body class="<?php if($this->options->bodyFonts && $this->options->bodyFonts=1): ?>body-serif<?php endif; ?>">
\ No newline at end of file + <body class="<?php if($this->options->bodyFonts && $this->options->bodyFonts=1): ?>body-serif<?php endif; ?>"> |
