From 84dea974b746f19e031d5facd07610d4407a7b38 Mon Sep 17 00:00:00 2001 From: Nathan Bergey Date: Tue, 5 Nov 2019 14:38:14 -0500 Subject: [PATCH] Remove default post and add make target to render blog --- Makefile | 4 +++- source/_posts/hello-world.md | 38 ------------------------------------ 2 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 source/_posts/hello-world.md diff --git a/Makefile b/Makefile index 78dc4a5..575c200 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ -public: +public: favicon.ico source npx hexo generate + cp -r node_modules/mathjax/es5 public/mathjax + cp favicon.ico public/ favicon.ico: favicon.svg rsvg-convert -w 16 -h 16 --background-color=none favicon.svg -o favicon-16.png diff --git a/source/_posts/hello-world.md b/source/_posts/hello-world.md deleted file mode 100644 index c090297..0000000 --- a/source/_posts/hello-world.md +++ /dev/null @@ -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)