![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hexo个人博客的一些经验
硬.汉
这个作者很懒,什么都没留下…
展开
-
hexo之修改占用端口的问题
一般默认为4040端口如下代码更改hexo-server运行时的端口号:可以在站点下的文件_config.yml内加上server:port: 4040compress: trueheader: true这两个是确认你的github用户名,或者凭借这个更改你的用户名git config --global user.name “用户名”git config --global user.email “邮箱地址”重要测试:在git上在hexo主目录下运行一下 ssh -T git@github原创 2021-04-12 17:10:31 · 214 阅读 · 0 评论 -
hexo之在文章中添加图片
我用的是yilia主题!首先设置站点配置_config.yml:将post_asset_folder: false改为post_asset_folder: true安装插件:npm install https://github.com/CodeFalling/hexo-asset-image -- save运行hexo n “例如hello world”,生成XXXXX.md博文时就会在/source/_posts目录下生成hello world的文件夹将你想在hello world博文中插入原创 2021-04-11 15:30:13 · 574 阅读 · 0 评论