0%

测试在hexo-Next主题博客中插入音视频。

测试1:插入网易云音乐音频

测试2:插入B站视频

测试3:使用Audio标签 + 网盘进行上传

git push到github后,访问主页为空白

问题描述:

  • git push到github后,访问主页为空白
  • Travis CI自动部署的log中提示WARN No layout

原因:
因为这个问题,清空了一遍github和本地仓库,折腾了大半天。最后发现是因为next主题也是一个repo,下载的next主题中有.git文件,导致上传git的时候被忽略了。

阅读全文 »

新建文章的方法

(1)通过命令新建

$ hexo new 'title' # 新建文章
$ hexo new draft 'draftname' #新建草稿

(2)编辑Markdown文档
执行上述命令后,会在仓库文件夹下的/source/_posts中找到新增的Markdown文档。

阅读全文 »

使用Travis CI自动部署Hexo

参考链接:
hexo部署到git

我们将会使用 Travis CI 将 Hexo 博客部署到 GitHub Pages 上。Travis CI 对于开源 repository 是免费的,但是这意味着你的站点文件将会是公开的。

阅读全文 »

2020年10月
成功搭建雏形成功。
#这是一级标题

这是二级标题

这是三级标题

再试一试四级标题

这里是正文
试试看

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 Start

Create a new post

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment