!sy!sy
1114 字
6 分钟
!sy!sy

/Joe/public/include.php
- QQ卡片
<!-- QQCard BEGIN --><meta itemprop="name" content="<?php $this->archiveTitle(array('category' => '分类 %s 下的文章', 'search' => '包含关键字 %s 的文章', 'tag' => '标签 %s 下的文章', 'author' => '%s 发布的文章'), '', ' - '); ?><?php $this->options->title(); ?>" /><meta itemprop="image" content="<?php $this->options->JShare_QQ_Image() ?>" /><meta name="description" itemprop="description" content="<?php echo $this->fields->description ? $this->fields->description : htmlspecialchars($this->_description); ?>" />- 禁止反向代理
<!-- 禁止反向代理访问 --><?phpif($_SERVER['SERVER_NAME'] != 'kanoer.net'){exit('检测到非法的反向代理访问,请认准域名:https://anoer.net');}?>- 完整文件代码如下,定位添加位置
<!-- QQCard BEGIN --><meta itemprop="name" content="<?php $this->archiveTitle(array('category' => '分类 %s 下的文章', 'search' => '包含关键字 %s 的文章', 'tag' => '标签 %s 下的文章', 'author' => '%s 发布的文章'), '', ' - '); ?><?php $this->options->title(); ?>" /><meta itemprop="image" content="<?php $this->options->JShare_QQ_Image() ?>" /><meta name="description" itemprop="description" content="<?php echo $this->fields->description ? $this->fields->description : htmlspecialchars($this->_description); ?>" />
<!-- 禁止反向代理访问 --><?phpif($_SERVER['SERVER_NAME'] != 'kanoer.net'){exit('检测到非法的反向代理访问,请认准域名:https://anoer.net');}?>
<?php $this->need('public/config.php'); ?><meta charset="utf-8" /><meta name="renderer" content="webkit" /><meta name="format-detection" content="email=no" /><meta name="format-detection" content="telephone=no" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" /><meta itemprop="image" content="<?php $this->options->JShare_QQ_Image() ?>" /><meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover"><link rel="shortcut icon" href="<?php $this->options->JFavicon() ?>" /><title><?php $this->archiveTitle(array('category' => '分类 %s 下的文章', 'search' => '包含关键字 %s 的文章', 'tag' => '标签 %s 下的文章', 'author' => '%s 发布的文章'), '', ' - '); ?><?php $this->options->title(); ?></title><?php if ($this->is('single')) : ?> <meta name="keywords" content="<?php echo $this->fields->keywords ? $this->fields->keywords : htmlspecialchars($this->_keywords); ?>" /> <meta name="description" content="<?php echo $this->fields->description ? $this->fields->description : htmlspecialchars($this->_description); ?>" /> <?php $this->header('keywords=&description='); ?><?php else : ?> <?php $this->header(); ?><?php endif; ?><link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.mode.min.css'); ?>"><link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.normalize.min.css'); ?>"><link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.global.min.css'); ?>"><link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.responsive.min.css'); ?>"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.0.0/plugin/qmsg/qmsg.css"><?php if ($this->options->JAside_Weather_Key) : ?> <link rel="stylesheet" href="https://apip.weatherdt.com/standard/static/css/weather-standard.css"><?php endif; ?><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" /><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.7.2/animate.min.css" /><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css"><script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.0.0/plugin/scroll/joe.scroll.js"></script><script src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.0/lazysizes.min.js"></script><script src="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.0.0/plugin/sketchpad/joe.sketchpad.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script><script src="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.0.0/assets/js/joe.extend.min.js"></script><script src="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.0.0/plugin/qmsg/qmsg.js"></script><script src="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.0.0/plugin/smooth/joe.smooth.js" async></script><?php if ($this->options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?> <script src="<?php $this->options->themeUrl('assets/cursor/' . $this->options->JCursorEffects); ?>" async></script><?php endif; ?><script src="<?php $this->options->themeUrl('assets/js/joe.global.min.js'); ?>"></script><script src="<?php $this->options->themeUrl('assets/js/joe.short.min.js'); ?>"></script><?php $this->options->JCustomHeadEnd() ?>/Joe/public/footer.php
/Joe/public/copyright.php
- 版权归属
<span>版权属于:Kanoer</span>- 许可协议
<span class="text"> 《 <a class="link" href="//creativecommons.org/licenses/by-nc-sa/4.0/deed.zh" target="_blank" rel="noopener noreferrer nofollow">CC BY-NC-SA 4.0</a> 》许可协议授权 </span>- 文件完整代码如下,定位添加位置
<div class="joe_detail__copyright"> <div class="content"> <div class="item"> <svg class="icon" width="20" height="20" viewBox="0 0 1024 1024"> <path d="M614.72 554.538c-49.086-6.399-100.27-2.1-149.256-2.1-119.465 0-209.04 95.972-206.84 215.437 0 17.095 8.498 31.99 23.493 40.488 14.896 10.697 34.09 14.896 53.285 17.095 61.882 6.398 123.664 6.398 198.342 6.398 40.488 0 93.872-2.1 142.858-4.298 27.692 0 53.284-4.3 78.877-14.896 19.194-8.498 29.89-19.194 31.99-40.488 8.498-104.57-72.478-204.84-172.75-217.636zM680.8 375.39c0-87.474-74.678-162.053-164.251-162.053-89.574 0-162.053 74.679-162.053 162.053-2.1 87.474 74.678 164.252 162.053 164.252 89.673 0 164.252-74.678 164.252-164.252z" fill="#FFF" /> <path d="M512.35 0C228.733 0 .5 228.233.5 511.85s228.233 511.85 511.85 511.85 511.85-228.233 511.85-511.85S795.967 0 512.35 0zm275.12 772.074c-2.1 21.294-12.797 31.99-31.991 40.488-25.593 10.697-51.185 14.896-78.877 14.896-49.086 2.099-102.37 4.298-142.858 4.298-74.678 0-136.46 0-198.342-6.398-19.195-2.1-38.389-6.398-53.285-17.095-14.895-8.497-23.493-23.493-23.493-40.488-2.1-119.465 87.475-215.437 206.84-215.437 49.085 0 100.27-4.299 149.256 2.1 100.27 12.896 181.247 113.166 172.75 217.636zM354.495 375.39c0-87.474 72.479-162.053 162.053-162.053S680.8 288.016 680.8 375.39c0 89.574-74.679 164.252-164.252 164.252-87.375 0-164.152-76.778-162.053-164.252z" fill="#249FF8" /> </svg> <span>版权属于:Kanoer</span>
</div> <div class="item"> <svg class="icon" width="20" height="20" viewBox="0 0 1024 1024"> <path d="M511.854 0A511.854 511.854 0 1 0 1024 511.854 511.854 511.854 0 0 0 511.854 0z" fill="#39B54A" /> <path d="M576.491 630.355L460.028 746.818a129.565 129.565 0 0 1-182.555 0l-2.038-2.038a128.983 128.983 0 0 1 0-182.264l81.233-81.233a179.644 179.644 0 0 0 13.102 70.46l-52.7 52.408a69.878 69.878 0 0 0 0 98.703l2.038 2.038a70.169 70.169 0 0 0 98.703 0l116.463-116.463a69.878 69.878 0 0 0 0-98.703l-2.039-2.038a69.587 69.587 0 0 0-13.975-10.772l42.509-42.51a128.11 128.11 0 0 1 13.102 11.356l2.038 2.038a129.274 129.274 0 0 1 0 182.264z" fill="#FFF" /> <path d="M746.236 460.902l-81.233 81.233a179.353 179.353 0 0 0-13.102-70.46l52.7-52.409a69.878 69.878 0 0 0 0-98.702l-2.039-2.038a69.878 69.878 0 0 0-98.702 0L487.397 434.989a69.878 69.878 0 0 0 0 98.702l2.038 2.038a68.422 68.422 0 0 0 13.976 10.773l-42.51 42.51a136.553 136.553 0 0 1-13.101-11.356l-2.038-2.038a128.983 128.983 0 0 1 0-182.265l116.463-116.462a129.565 129.565 0 0 1 182.555 0l2.038 2.038a128.983 128.983 0 0 1 0 182.264z" fill="#FFF" /> </svg> <span>本文链接:</span> <span class="text"> <a class="link" href="<?php $this->permalink() ?>" target="_blank" rel="noopener noreferrer nofollow"><?php $this->permalink() ?></a> </span> </div> <div class="item"> <svg class="icon" width="20" height="20" viewBox="0 0 1024 1024"> <path d="M0 512a512 512 0 1 0 1024 0A512 512 0 1 0 0 512z" fill="#F3B243" /> <path d="M540.672 323.584a90.112 90.112 0 1 0 180.224 0 90.112 90.112 0 1 0-180.224 0zM540.672 688.128a90.112 90.112 0 1 0 180.224 0 90.112 90.112 0 1 0-180.224 0zM229.376 512a90.112 90.112 0 1 0 180.224 0 90.112 90.112 0 1 0-180.224 0z" fill="#FFF" /> <path d="M341.037 480.37l257.344-175.718 27.713 40.592-257.34 175.718z" fill="#FFF" /> <path d="M349.053 488.452L601.907 670.56l-28.725 39.887L320.307 528.34z" fill="#FFF" /> </svg> <span>作品采用:</span> <span class="text"> 《 <a class="link" href="//creativecommons.org/licenses/by-nc-sa/4.0/deed.zh" target="_blank" rel="noopener noreferrer nofollow">CC BY-NC-SA 4.0</a> 》许可协议授权 </span> </div> </div></div>底栏左侧内容
Copyright © 2021 <a href="https://kanoer.net" target="_blank" rel="noopener noreferrer">kanoer.net</a> <a href="https://beian.miit.gov.cn/#/Integrated/index" rel= "noopener noreferrer" target= "_blank">桂ICP备2021001758号-1</a>底栏右侧内容
<a href="//kanoer.net/about.html">关于</a> ✦ <a href="mailto:helloword@kanoer.net">联系我</a> ✦ <a href="http://typecho.org" rel= "noopener noreferrer" target= "_blank"> Typecho </a> ✦ <a href="https://github.com/HaoOuBa/Joe" rel= "noopener noreferrer" target= "_blank">Joe </a> Theme自定义JS
<!--禁止右键-->document.oncontextmenu=new Function("event.returnValue=false");<!--禁止右键-火狐专用-->document.oncontextmenu=function(e){return false;}<!--禁止F2--> document.onkeydown = function () { if (window.event && window.event.keyCode == 123) { event.keyCode = 0; event.returnValue = false; return false; } };<!--动态标题欺骗-->var OriginTitle = document.title;var titleTime;document.addEventListener("visibilitychange", function () {if (document.hidden) {document.title = "╭(°A°)╮ 页面崩溃啦 ~";clearTimeout(titleTime);} else {document.title = "(ฅ>ω<*ฅ) 噫又好了~" + OriginTitle;titleTime = setTimeout(function () {document.title = OriginTitle;}, 2000);}});图片项目
- 网站 Favicon:https://image.kanochan.net/%E7%BD%91%E7%AB%99%E6%A0%87%E9%A2%98%E5%9B%BE.png
- 网站 Logo:https://image.kanochan.net/uugai.com_1613715888542.png
- 懒加载图:https://kanoer.net/usr/uploads/2021/02/loding.jpg
- QQ分享图:https://kanoer.net/usr/uploads/2021/04/1091307048.gif
- 百度推送:http://data.zz.baidu.com/urls?site=https://kanoer.net&token=w5ZFhRVwE8fv0d8L
- 背景图片:https://image.kanochan.net/t01d8cfd99a9f840621.jpg
- 背景图片WAP:https://image.kanochan.net/t01d8cfd99a9f840621.jpg
- 首页轮播图:https://image.kanochan.net/cy9mapfcucf41.jpg || https://kanoer.net https://image.kanochan.net/85580902_p0.jpg || https://kanoer.net
文章分享
如果这篇文章对你有帮助,欢迎分享给更多人!
相关文章智能推荐
1
关于Typecho的Joe主题图片显示过大导致整个页面都是图这件事
建站通过调整主题代码修复Joe主题图片过大导致版面失衡的问题。
2
Joe主题页面增加用户登入功能
建站为Joe主题增加移动端侧边栏与导航栏的用户登录功能。
3
Joe 6.68 主题样式指南
建站面向Joe 6.68版本的样式指南,展示新增组件与实际效果。
4
Joe主题样式指南
建站系统整理Joe主题支持的Markdown扩展样式与常用内容组件。
5
从Typecho转移到WordPress后的第一篇文章
建站记录博客从Typecho迁移到WordPress并重新适配主题的完整过程。
随机文章随机推荐

