Build the source/about/index.md
This commit is contained in:
parent
f02e13d7ca
commit
a58717f7d6
|
@ -4,4 +4,5 @@ db.json
|
|||
*.log
|
||||
node_modules/
|
||||
public/
|
||||
.deploy*/
|
||||
.deploy*/
|
||||
source/about/index.md
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
## About
|
||||
This is a blog about things that intrest me. I plan on using it as a purpose specific journal of topics I'm procrastinating on.
|
||||
|
||||
|
||||
## Insparation
|
||||
|
||||
The work of others has inspired me to compile this work.
|
||||
|
||||
- [Why You Should Publish Everything You Produce](https://writingcooperative.com/why-you-should-publish-everything-you-produce-d9ff79ec2273)
|
||||
- [You should have a personal web site](https://writing.markchristian.org/2019/04/29/personal-web-sites/)
|
||||
- [Hunting the Nearly-Invisible Personal Website](https://cheapskatesguide.org/articles/personal-website-hunting.html)
|
||||
|
||||
## Technology
|
||||
|
||||
This blog is written in Markdown, which is hosted on GitHub [here](https://github.com/timemachine3030/blog). The html is hosted on [Ctrl-C Club](http://ctrl-c.club/) [here](http://ctrl-c.club/~timemachine).
|
||||
|
||||
The markdown is processed into html using [Hexo](https://www.npmjs.com/package/hexo).
|
||||
|
||||
## Legal
|
||||
|
||||
Writing is hardwork. I want those that read this blog to use its value. All content of this site is license under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
||||
|
||||
If you use content from this site or encounter its contents of on a different location than those listed above, let me know. Don't be weird about...
|
||||
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"prebuild": "node scripts/mkabout.js",
|
||||
"build": "hexo generate",
|
||||
"clean": "hexo clean",
|
||||
"deploy": "hexo deploy",
|
||||
|
@ -22,4 +23,4 @@
|
|||
"hexo-renderer-stylus": "^2.0.0",
|
||||
"hexo-server": "^2.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
const {readFileSync, writeFileSync} = require('fs');
|
||||
const {normalize} = require('path');
|
||||
|
||||
const root = __dirname + '/..';
|
||||
|
||||
const header = "---\ntitle: about\ndate: 2020-08-29 10:45:50\n---";
|
||||
const body = readFileSync(root + "/README.md");
|
||||
const path = normalize(root + "/source/about/index.md");
|
||||
|
||||
console.log(`Writing: ${path}`);
|
||||
|
||||
writeFileSync(path, header + "\n\n" + body);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue