summaryrefslogtreecommitdiffstats
path: root/includes/head.php
diff options
context:
space:
mode:
authorouttime <i@timewk.cn>2019-12-19 13:52:20 +0800
committerouttime <i@timewk.cn>2019-12-19 13:52:20 +0800
commit10a300457816273792bf5df22bfb1a907650a956 (patch)
tree36d9e8ccdf99ba131f5ba1fa9324bbcff4d0e330 /includes/head.php
parent467366b3788943eefbbd0c18fabbe23ac5692376 (diff)
🎭Add:添加QQ分享页面时的标题与图标
Diffstat (limited to 'includes/head.php')
-rw-r--r--includes/head.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/head.php b/includes/head.php
index 03f982c..1876285 100644
--- a/includes/head.php
+++ b/includes/head.php
@@ -20,6 +20,8 @@
}
?>
<title><?php Contents::title($this); ?></title>
+ <meta itemprop="name" content="<?php Contents::title($this); ?>"/>
+ <meta itemprop="image" content="<?php Utils::indexTheme('favicon.ico'); ?>" />
<meta name="author" content="<?php $this->author(); ?>" />
<meta name="description" content="<?php if($description != '') echo $description; else $this->excerpt(50); ?>" />
<meta property="og:title" content="<?php Contents::title($this); ?>" />