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
一个html文件上传图片到github
代码Picgo上传到GitHub报错,可怜我只能借助搜索引擎,但别人却动手换了个方法自己搞。直接上代码吧
12345678910111213141516171819202122232425262728293031323334353637383940<script src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script><script>function uploadimg(file){ var timestamp=new Date().getTime(); var nameofimg=timestamp+"."+houzhui; var picurl="https://cdn.jsdelivr.net/gh/lihua/lihuasimg@ma ...
Vercel的简单用法
Vercel是个好东西,记录一下
安装1npm i -g vercel
注册访问https://vercel.com/signup 注册账号,推荐用github注册
登陆1vc login
输入注册的邮箱账号,然后到邮箱中验证登陆用SanKo的话说:
Vercel 的登录很有意思,因为我们自始至终没有设置过账户密码,它是通过向你邮箱发送一封邮件确认。在邮件中,甚至还有一个和你约定的「暗号」,作为彼此的凭证。
使用vercel的静态网页托管非常棒,我认为访问速度不比一些香港的服务器差在你的项目主页中,比如hexo博客
1vc
然后一路按“enter”即可,要更新部署
1vc --prod
我用vercel部署了一个静态主页,还有用hexo生成的庐江中学介绍:https://ljzx.eu.org/
参考Vercel ,开箱即用的网站管理小工具