Repository navigation
Expand file tree
/
Copy pathcontent.json
More file actions
1 lines (1 loc) · 12.4 KB
/
Copy pathcontent.json
File metadata and controls
1 lines (1 loc) · 12.4 KB
1
{"meta":{"title":"WindBack的小站","subtitle":"世态人情,可当书读,可作戏看。","description":"世态人情,可当书读,可作戏看。","author":"WindBack","url":"https://wndbac.github.io","root":"/"},"pages":[{"title":"","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":true,"path":"404.html","permalink":"https://wndbac.github.io/404.html","excerpt":"","text":"404 很抱歉,您访问的页面不存在 可能是输入地址有误或该地址已被删除"},{"title":"","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":true,"path":"about/index.html","permalink":"https://wndbac.github.io/about/index.html","excerpt":"","text":"关 于 我 关于我人间忽晚,山河已秋.本站已不再维护,可访问 VayFou 博客以获得帮助~ 前端初学者。 热爱技术,热爱创造。 闭关学习中~ 版权声明博客内的所有原创内容(包括但不限于文章、图像等)除特别声明外均采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议,任何人都可以自由传播,但不得用于商用且必须署名并以相同方式分享。 隐私原则本站内目前涉及到浏览者隐私的仅有留言区(文章评论)及访客统计。当您评论或浏览本站时,您的电子邮箱、Cookies信息和IPv4/IPv6地址都会被记录(电子邮箱、Cookies信息仅用于评论)。这些信息仅为了改进我们的网站质量和可能的交流沟通。我们不会将这些信息进行展示、出租或出售给任何人。但以下情况除外: 只有透露您的个人资料,才能提供您所要求的产品和服务; 我们需要听从法庭传票、法律命令或遵循法律程序; 我们发现您违反了本站已发布的条款或声明。"},{"title":"分类","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":true,"path":"categories/index.html","permalink":"https://wndbac.github.io/categories/index.html","excerpt":"","text":""},{"title":"","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":false,"path":"fcircle/index.html","permalink":"https://wndbac.github.io/fcircle/index.html","excerpt":"","text":""},{"title":"","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":true,"path":"friends/index.html","permalink":"https://wndbac.github.io/friends/index.html","excerpt":"好 伙 伴","text":"好 伙 伴 本站已不再维护,请及时作下链处理! 友链原则 申请格式 前置要求 本站信息请按以下格式申请~- title: # 站点名称 url: # 访问网址 avatar: # 头像地址 Https 站点(大势所趋) 网站加载速度正常(待定…) 欢迎大佬!(/≧▽≦)/ 免费类域名站点请略过(潜在的不可靠性) 新创站点请略过(建议拥有一定的原创内容) 连接无法打开或存在质量低的内容时,将不会添加 不接受一切商业性或强烈侵入类广告之站点 不接受违反中华人民共和国法律法规之站点 title: WindBack # 名称avatar: https://static.wndbac.cn/avatar.jpg # 头像url: https://wndbac.cn # 链接screenshot: https://static.wndbac.cn/screenshot.png # 截图description: 世态人情,可当书读,可作戏看。 # 描述"},{"title":"","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":false,"path":"history/index.html","permalink":"https://wndbac.github.io/history/index.html","excerpt":"","text":"建 站 史 2023-04-07 重设UI,关闭阅读更多显示 2023-01-18 更换Artalk评论系统(现已换回Twikoo) 2023-01-10 更换博客域名为wndbac.cn,缩短字符 2022-12-22 更新主题至6.0-pjax版本 2022-11 使用hexo-abbrlink插件生成文章路径 使用hexo-generator-baidu-sitemap插件生成百度网站地图 使用hexo-generator-sitemap生成网站地图 使用hexo-wordcount字数统计和阅读时长插件 2022-10 部署Qexo对博客进行管理 全站使用Pjax实现无刷新加载 添加Twikoo评论系统 使用QexoSays新增说说页面 2022-09-11 使用Hexo作为框架,以Volantis作为主题 2022-07 完全自写html 使用Valine评论系统"},{"title":"","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":true,"path":"messages/index.html","permalink":"https://wndbac.github.io/messages/index.html","excerpt":"","text":"🍭欢迎你的来访,请遵守相关法律法规,文明灌水,谢谢合作~"},{"title":"","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":false,"path":"notes/index.html","permalink":"https://wndbac.github.io/notes/index.html","excerpt":"","text":""},{"title":"标签","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":true,"path":"tags/index.html","permalink":"https://wndbac.github.io/tags/index.html","excerpt":"","text":""},{"title":"","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":true,"path":"talks/index.html","permalink":"https://wndbac.github.io/talks/index.html","excerpt":"","text":"showQexoTalks(\"qexot\", \"https://admin.wndbac.cn\", 5)"},{"title":"","date":"2024-05-12T10:15:36.350Z","updated":"2024-05-12T10:15:36.350Z","comments":false,"path":"welcome/index.html","permalink":"https://wndbac.github.io/welcome/index.html","excerpt":"","text":""}],"posts":[{"title":"优化站点访问速","slug":"优化站点访问速","date":"2023-03-11T08:48:25.000Z","updated":"2023-04-09T03:13:54.000Z","comments":true,"path":"c6a56fac/","link":"","permalink":"https://wndbac.github.io/c6a56fac/","excerpt":"","text":"前言我们的站点通常会使用一些CDN来进行加速,例如 jsDelivr, UNPKG 等,但是它们在境内的加速效果都不是很理想。 解决方法Cloudflare在全球速度都是相对较快的,所以本站选择使用Cloudflare进行反代以上的CDN服务以解决它们在境内速度慢的问题。 注:如若没有 Cloudflare 账号,要先去注册一个,并与 GitHub 连接。 源代码index.html <script language="javascript" type="text/javascript"> window.location.href = 'https://cdn.wndbac.cn';</script> _worker.js export default { async fetch(request, env) { const url = new URL(request.url); url.host = "cdn.jsdelivr.net"; return fetch(url, { headers: request.headers, method: request.method, body: request.body, redirect: 'follow' }); }} 将以上代码导入 Cloudflare Pages ,然后绑定自己的域名(可无),就大功告成了。 注:index文件其实即为一个重定向,请将 https://cdn.wndbac.cn 替换为自己的域名或后面Cloudflare分配的域名。 使用npm: https://domain/npm/package@version/fileGitHub: https://domain/gh/user/repo@version/fileWordPress: https://domain/wp/plugins/project/tags/version/file 更多可访问 jsDelivr 官网查看: jsDelivr 只需将 cdn.jsdelivr.net 替换为你部署反代服务的域名即可。 同理:反代其它站点亦可以参照上述代码,但若别人开启了禁止反代等保护措施,即无效。","categories":[{"name":"博客","slug":"博客","permalink":"https://wndbac.github.io/categories/%E5%8D%9A%E5%AE%A2/"}],"tags":[{"name":"Cloudflare","slug":"Cloudflare","permalink":"https://wndbac.github.io/tags/Cloudflare/"}]},{"title":"为你的博客挂上灯笼","slug":"为你的博客挂上灯笼","date":"2023-01-13T04:55:58.000Z","updated":"2023-04-09T03:18:09.000Z","comments":true,"path":"a7e70425/","link":"","permalink":"https://wndbac.github.io/a7e70425/","excerpt":"","text":"引言灯花助春意,舞绶织欢心。新的一年,新的气象,快来为你的博客挂上漂漂亮亮的小🏮吧! 本教程直接引入 @韩小韩 的 API 接口,以便实现最简化调用。如若担心此接口失效,可参考 @Xlenco 的 这篇 文章以获得帮助。 开始教程引入代码如下: <!-- lanters --><script src="https://api.vvhan.com/api/denglong2"></script> 本教程以 Volantis 主题为例 在根目录下 soure 文件夹中新建 _volantis/bodyEnd.ejs 文件 文件填写上述引入代码即可 注:记得 hexo clean 哦,以防止改动未生效 结尾至此,你的博客已经挂上了漂亮的迎春灯笼🎉🎉🎉,效果如下图所示: demo 如上教程,亦可以引入其它 API 来实现此类效果,万变不离其宗!","categories":[{"name":"教程","slug":"教程","permalink":"https://wndbac.github.io/categories/%E6%95%99%E7%A8%8B/"}],"tags":[{"name":"Hexo","slug":"Hexo","permalink":"https://wndbac.github.io/tags/Hexo/"},{"name":"Volantis","slug":"Volantis","permalink":"https://wndbac.github.io/tags/Volantis/"}]},{"title":"搭建一个Hexo博客","slug":"搭建一个Hexo博客","date":"2023-01-06T07:08:25.000Z","updated":"2023-04-09T03:20:01.000Z","comments":true,"path":"6e838c40/","link":"","permalink":"https://wndbac.github.io/6e838c40/","excerpt":"","text":"简介Hexo是一款基于Nodejs的,快速、简洁且高效的博客框架。具有丰富的插件和主题,具有超快的速度。支持Makedown语法,可以方便快捷的编写博客文档。同时支持node命令,可以一键部署到GitHub Pages, Heroku等其他平台。 Hexo搭建1、安装 安装git 安装node 检测是否安装成功 node -vnpm -v 安装hexo npm install hexo-cli -g 2、初始化博客hexo init 如操作过程中出现卡住问题可执行Ctrl + C命令终止程序 npm install 3、配置主题转到theme文件夹下 git clone 主题的地址 修改配置文件 打开博客根目录的_config.yml文件,找到theme这一行,修改主题名字 theme: 主题名字 4、上传 请先配置Git的SSH密钥等信息 安装上传插件 npm install hexo-deployer-git --save 上传 hexo cleanhexo g -d 到这里,我们其实已经完成了搭建,但是Hexo有一个很大的缺点,就是每次部署推送都要在本地 解决方法:使用Hexo编辑器或Codespaces对博客进行管理 管理1、推送 如果想要使用编辑器来管理博客,那么请忽略上面的上传静态文件命令 请直接把文件夹中的所有文件直接推送到GitHub仓库(推送教程不过多阐述,自行百度) 如果上传了很久依然没有上传完成,那么请在博客根目录下新建一个.gitignore文件 内容: .DS_StoreThumbs.dbdb.json*.lognode_modules/public/.deploy*/ 新建完成后,请再次进行推送 2、线上写文章/改配置 使用 GitHub Codespaces; 使用 Qexo; 使用 HexoPlusPlus; 更多… … 3、部署因GitHub无法直接处理Hexo根目录下的文件 所以为使Hexo博客运行,这里推荐使用 Vercel 进行部署,亦或使用 GitHub Actions 自动化部署,这里选择前者 Vercel 请先将账号与GitHub连接 点击右上角Add New,点开 Project选项 在弹出的仓库中选择你部署Hexo原文件的仓库,点击Import按键 到这个页面,点击Deploy按键,等待部署完成 部署完成后,Vercel会分配给你一个子域名,但可惜的是*.vercel.app域名在大陆地区被电信运营商 DNS 污染,无法直接访问。解决方法:绑定域名(一个域名一年也就几十块钱,建议自己从阿里云或者腾讯云购买一个域名)","categories":[{"name":"教程","slug":"教程","permalink":"https://wndbac.github.io/categories/%E6%95%99%E7%A8%8B/"}],"tags":[{"name":"Hexo","slug":"Hexo","permalink":"https://wndbac.github.io/tags/Hexo/"}]},{"title":"你好2023","slug":"你好2023","date":"2023-01-01T12:55:38.000Z","updated":"2023-04-09T03:19:10.000Z","comments":true,"path":"1006cd9b/","link":"","permalink":"https://wndbac.github.io/1006cd9b/","excerpt":"","text":"2022年已经过去,2023年也已经到来。 时间告诉我,无理取闹的年纪已经过去,该努力了。 希望多年以后,都会如我们所愿。","categories":[{"name":"随笔","slug":"随笔","permalink":"https://wndbac.github.io/categories/%E9%9A%8F%E7%AC%94/"}],"tags":[]}],"categories":[{"name":"博客","slug":"博客","permalink":"https://wndbac.github.io/categories/%E5%8D%9A%E5%AE%A2/"},{"name":"教程","slug":"教程","permalink":"https://wndbac.github.io/categories/%E6%95%99%E7%A8%8B/"},{"name":"随笔","slug":"随笔","permalink":"https://wndbac.github.io/categories/%E9%9A%8F%E7%AC%94/"}],"tags":[{"name":"Cloudflare","slug":"Cloudflare","permalink":"https://wndbac.github.io/tags/Cloudflare/"},{"name":"Hexo","slug":"Hexo","permalink":"https://wndbac.github.io/tags/Hexo/"},{"name":"Volantis","slug":"Volantis","permalink":"https://wndbac.github.io/tags/Volantis/"}]}