你 此刻 发送的 留言 正在 穿越 我的 过去 与 未来
神明收走了人们的胆怯 少年们的爱情轰轰烈烈灵婆带走了人们心中的执愿 少女们的爱情真真切切
这段代码对文章页和独立页面的做了一点优化,head文件里
<?php if ($this->is("index")): ?> <meta property="og:type" content="blog"/> <meta property="og:url" content="<?php $this->options->siteUrl(); ?>"/> <meta property="og:title" content="<?php $this->options->title(); ?>"/> <meta property="og:author" content="<?php $this->author->name(); ?>"/> <meta name="keywords" content="<?php $this->keywords(); ?>"> <meta name="description" content="<?php $this->options->description(); ?>"> <?php endif; ?> <?php if ($this->is("post") || $this->is("page") || $this->is("attachment")): ?> <meta property="og:url" content="<?php $this->permalink(); ?>"/> <meta property="og:title" content="<?php $this->title(); ?> - <?php $this->options->title(); ?>"/> <meta property="og:author" content="<?php $this->author(); ?>"/> <meta property="og:type" content="article"/> <meta property="article:published_time" content="<?php $this->date("c"); ?>"/> <meta property="article:published_first" content="<?php $this->options->title(); ?>, <?php $this->permalink(); ?>"/> <meta name="keywords" content="<?php $k = $this->fields->keyword; if (empty($k)) { echo $this->keywords(); } else { echo $k; } ?>"> <meta name="description" content="<?php $d = $this->fields->description; if (empty($d) || !$this->is("single")) { if ($this->getDescription()) { echo $this->getDescription(); } } else { echo $d; } ?>"/> <?php endif; ?> <title><?php $this->archiveTitle( [ "category" => _t("分类 %s 下的文章"), "search" => _t("包含关键字 %s 的文章"), "tag" => _t("标签 %s 下的文章"), "author" => _t("%s 发布的文章"), ], "", " - " ); $this->options->title(); ?></title> <?php $this->header("description=&generator=&pingback=&template=&xmlrpc=&wlw=&commentReply=&keywords="); ?>
我当时一直不知道这个改动的位置在哪里 今天优化SEC才发现这个大问题
文章列表,加个缩略图好不好更好看一点
🤔还没想出这个缩略图应该添加在哪个位置
主题好看欸,期待发布
🙈已发布了 可以移步到 Pamper问世
称呼
Email
网站
内容
提交评论
「 结尾 」
“感谢在这片星雾中 捡走我崩落的碎轨”
这段代码对文章页和独立页面的做了一点优化,head文件里
我当时一直不知道这个改动的位置在哪里 今天优化SEC才发现这个大问题
文章列表,加个缩略图好不好更好看一点
🤔还没想出这个缩略图应该添加在哪个位置
主题好看欸,期待发布
🙈已发布了 可以移步到 Pamper问世