网站开发时间进度,微信小程序开发技术栈,写安卓软件用什么工具,安装网站模板很早之前使用hexo和github建了个人博客。搭建的流程一直没有梳理#xff0c;中间换过几次机器#xff0c;每次都得重新配置一遍#xff0c;需要重新学些。最近电脑坏了#xff0c;原始的数据没有导出来#xff0c;先把以前文章写个文件占个位置#xff0c;后面慢慢补吧中间换过几次机器每次都得重新配置一遍需要重新学些。最近电脑坏了原始的数据没有导出来先把以前文章写个文件占个位置后面慢慢补吧如果大家要看内容的话可以去https://juejin.cn/user/870468942580749。
详细的配置大家可以参考使用hexogithub搭建免费个人博客详细教程
安装
先安装软件
brew install npm
brew install nodejs
npm install -g hexo
npm install hexo-deployer-git --save
然后创建文件夹初始化hexo
//建hexo目录必须是空的
hexo init//更换主题我使用的事yilia
git clone https://github.com/litten/hexo-theme-yilia.git themes/yilia
//修改themes/yilia/_config.yml 配置分类//生成
hexo g//启服务看效果 http://localhost:4000
hexo s//如果没有生效可以删除重新生成
hexo clean
查看图片的时候发现图片没有显示修改图片问题
//https://blog.csdn.net/Miracle_ps/article/details/114791335
npm install https://github.com/7ym0n/hexo-asset-image --sa//themes/yilia/_config.yml中添加配置
post_asset_folder: true
marked:prependRoot: truepostAsset: true
部署到github在_config.yml中增加配置
deploy:type: gitrepository: gitgithub.com:shidawuhen/shidawuhen.github.io.gitbranch: feature_pzq_newaritcle
常用命令
//分割线
!-- more --//生成category
hexo new page 技术文章 //生成新文章
hexo new pages 文章名
拷贝数据 将source拷贝到source中 将themes/yilia拷贝到themes/yilia中 将_config.yml拷贝到_config.yml
资料 https://www.cnblogs.com/liuxianan/p/build-blog-website-by-hexo-github.html https://www.jianshu.com/p/3db6a61d3782 https://blog.csdn.net/weixin_41829196/article/details/90574870 Hexo插入图片并解决图片的路径问题