Warning: getimagesize(): open_basedir restriction in effect. File(/etc/pki/tls/certs/ca-bundle.crt) is not within the allowed path(s): (/www/wwwroot/rinvay.cc/:/tmp/) in /www/wwwroot/rinvay.cc/usr/plugins/AMP/Action.php on line 469

Warning: failed loading cafile stream: `/etc/pki/tls/certs/ca-bundle.crt' in /www/wwwroot/rinvay.cc/usr/plugins/AMP/Action.php on line 469

Warning: getimagesize(): Failed to enable crypto in /www/wwwroot/rinvay.cc/usr/plugins/AMP/Action.php on line 469

Warning: getimagesize(https://www.rinvay.cc/img/logo.png): failed to open stream: operation failed in /www/wwwroot/rinvay.cc/usr/plugins/AMP/Action.php on line 469
Typecho自定义首页keywords和Description内容

Rinvay.H Blog

Typecho自定义首页keywords和Description内容


使用如下代码,可以自定义相关header的Keywords和Description内容:

<?php if($this->is('index')): ?>
<?php $this->header('description=Hello Typecho,收集Typecho相关代码,模板,插件。'); ?>
<?php else: ?>
<?php $this->header(); ?><?php endif; ?>

当前页面是本站的「Baidu MIP」版。查看和发表评论请点击:完整版 »