A small static website generator.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
templates
.eslintrc.js
.gitignore
.nvmrc
LICENSE
README.md
circle.yml
deploy.js
make.js
package.json
s3-helper.js

README.md

sirotkinco-public

Note

This is a public copy of the private repository that hosts my site, sirotkin.co. The public repository is not linked to CircleCI due to security issues regarding AWS credentials. In addition, the content inside /posts is omitted to simplify the usage of the MIT license.

Overview

The creation of this project is detailed as a blog post.

make.js takes all the markdown files inside /posts and converts them to pages. The pages are generated using EJS templates located in /templates. All generated files are located in /build.

deploy.js uploads the contents of /build to S3. AWS credentials need to be passed as arguments. Dependent on aws-helper.js to abstract the rough edges of the AWS node library.