Browse Source

Remove default post and add make target to render blog

blog
Nathan Bergey 5 years ago
parent
commit
84dea974b7
  1. 4
      Makefile
  2. 38
      source/_posts/hello-world.md

4
Makefile

@ -1,5 +1,7 @@
public:
public: favicon.ico source
npx hexo generate npx hexo generate
cp -r node_modules/mathjax/es5 public/mathjax
cp favicon.ico public/
favicon.ico: favicon.svg favicon.ico: favicon.svg
rsvg-convert -w 16 -h 16 --background-color=none favicon.svg -o favicon-16.png rsvg-convert -w 16 -h 16 --background-color=none favicon.svg -o favicon-16.png

38
source/_posts/hello-world.md

@ -1,38 +0,0 @@
---
title: Hello World
---
Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).
## Quick Start
### Create a new post
``` bash
$ hexo new "My New Post"
```
More info: [Writing](https://hexo.io/docs/writing.html)
### Run server
``` bash
$ hexo server
```
More info: [Server](https://hexo.io/docs/server.html)
### Generate static files
``` bash
$ hexo generate
```
More info: [Generating](https://hexo.io/docs/generating.html)
### Deploy to remote sites
``` bash
$ hexo deploy
```
More info: [Deployment](https://hexo.io/docs/deployment.html)
Loading…
Cancel
Save