This repo contains the code to build my main websites (https://www.itsericwoodward.com/ and https://itsericwoodward.com/).
|
||
---|---|---|
lib | ||
src | ||
.gitignore | ||
.prettierignore | ||
app.js | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
site.config.json5 |
It's Eric Woodward (dotcom)
A custom-built static site generator in Node.js used to create the website https://www.itsericwoodward.com (and https://itsericwoodward.com, for good measure).
Based (at least in part) on the ideas in this post: https://medium.com/douglas-matoso-english/build-static-site-generator-nodejs-8969ebe34b22
Setup
$ npm i
$ npm run build
$ npm run serve
$ npm run watch
Go to http://localhost:5000 to see the generated site.
How to use
If you want to use this as the basis for generating your own site, just fork this repository and update the content in the src
folder.