你瞅啥呢

随笔分类 -  Hexo

摘要:2023-11-21 hexo next主题 如何在博客网站底部添加备案号主题:NexT.Pisces v5.1.4 找到路径:博客目录名称\themes\hexo-theme-next\layout\_partials 找到文件:footer.swig,并在里面添加备案号,如图: 未改变前: <div class="copyright">{# #}{% set curr 阅读全文
posted @ 2023-11-21 21:11 叶乘风 阅读(477) 评论(0) 推荐(1) 编辑
摘要:2023-10-26 hexo部署到GitHub时css样式不生效 ==》 css文件链接被识别为不安全链接,导致无法生效hexo d一键部署后查看效果发现博客页面的样式全丢失了,查看控制台发现了端倪: Mixed Content: The page at 'https://xxx.github.io/' was loaded over HTTPS, but requested an insecure styleshe 阅读全文
posted @ 2023-10-26 23:37 叶乘风 阅读(207) 评论(0) 推荐(1) 编辑
摘要:2023-10-20 hexo的文章如何设置多个标签(tags)==》单个用字符串,多个用数组单个用字符串: tags: 'bug' 多个用数组: tags: ['bug','406'] 阅读全文
posted @ 2023-10-20 11:36 叶乘风 阅读(99) 评论(0) 推荐(0) 编辑
摘要:2023-09-18 hexo博客之如何自定义页面内容宽度==》在custom.styl中添加两行代码即可前言:我的hexo主题为hexo-theme-next 5.1.4版本。 操作如下: 打开 你的博客名称\themes\hexo-theme-next\source\css\_variables,找到这个文件custom.styl,然后把下面代码添加进去: $main-desktop = 1200p 阅读全文
posted @ 2023-09-18 14:35 叶乘风 阅读(49) 评论(0) 推荐(0) 编辑
摘要:前言:把博客拉到到新电脑,运行hexo s报错如下: PS D:\ablog> hexo s ERROR Cannot find module 'hexo' from 'D:\ablog' ERROR Local hexo loading failed in D:\ablog ERROR Try r 阅读全文
posted @ 2023-06-20 20:16 叶乘风 阅读(566) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示