HEXO & Butterfly 学习笔记
前言上次折腾个人博客在一个多月前了,靠着AI缝缝补补也是搭起来了。然而到了现在我连怎么发一篇文章都不会了,痛定思过!故有了这篇,同时也把以前试验性的文章撤下。 发布文章是在source_posts下编辑md文档。 还有libre-wolf浏览器里访问blog的vercount栏一直转圈是因为我用$\mu$block拦截请求了。 所以我现在还没搞明白,.deploy_git把网站文件推送到哪了。靠。 那个butterfly的action执行失败可以勉强解释为是之前Jekyll导致的。 ……懂了点,pages这个功能在deploy from a branch 里会根据当前分支的内容判断构建方法。如果有config.yml和md这些文件,会启用我在创建repo时候选的Jekyll(其实现在记不清了)。 而在分支只有静态资源时就不构建。 以下GPT对我的“指正”: GitHub Pages 的 Deploy from a branch 模式,会把选择的分支作为网站来源。如果这个分支是源码形式,GitHub Pages 默认会尝试使用 Jekyll 构建;如果分支已经包含生成好的静态文件(...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
