Typecho Handsome 模版 文章底部添清新的加版权说明 SEO收录优化
Typecho Handsome 模版 文章底部添清新的加版权说明 SEO收录优化
我放在主题的开发者选项的自定义css里
[scode type=”green”].cpright {
padding: 10px;
background: rgba(220, 220, 220, 0.1);
margin: 8px 0;
font-size: 13px;
border-left: 3px #f07aab96 solid;
position: relative;
z-index: 1;
font-family: “Microsoft Yahei”,”Droid Serif”,Georgia,”Times New Roman”,STHeiti,serif;
text-align: left;
}
.cpright a:hover {
color: #ff7979e8!important;
}
.cpright a {
color: #999!important;
margin: 4px;
border-bottom: 0px solid #999!important;
}[/scode]
Html代码放在文章输出之后,每个主题不一定一样自己找
[hide]handsome为例 post.php的 <!--文章页脚的广告位-->
头顶最近的 </div>
的前面即可
[/hide]
<div class="cpright">
<span>本文作者:<span class="sr-only"><?php _me("作者") ?>:</span> <a class="meta-value" href="<?php $this->author->permalink(); ?>" rel="author"> <?php $this->author(); ?></a></span>
文章标题:<a href="<?php $this->permalink() ?>"><?php $this->title() ?></a><br><span>本文地址:<a href="<?php $this->permalink() ?>"><?php $this->permalink() ?></a></span> <br><span>版权说明:若无注明,本文皆为“<a href="<?php $this->options->siteUrl(); ?>" target="_blank" data-original-title="<?php $this->options->title() ?>"><?php $this->options->title() ?></a>”原创,转载请保留文章出处。</span>
</div>
© 版权声明
THE END
- 最新
- 最热
只看作者