This repository has been archived by the owner. It is now read-only.
The source code for my website.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
source
tasks
templates
utils
.babelrc
.eslintignore
.eslintrc
.gitignore
.gitmodules
.travis.yml
LICENSE
README.md
index.js
main.js
package.json

README.md

Unindented (Website) Build Status Dependency Status

This is the source code for my website, unindented.org.

The contents themselves are versioned separately as a submodule. You can find them at https://github.com/unindented/unindented-contents.

Install

If you have io.js installed on your system, just run:

$ npm install

Build

To build the site, do:

$ npm run build

If you want to see debugging info, set the DEBUG environment variable:

$ DEBUG='metalsmith:*' npm run build

I'm using the debug package, so you can do more complex things like:

$ DEBUG='metalsmith:*,-metalsmith:ignore,-metalsmith:path' npm run build

Watch

If you want to rebuild the site every time you change a file, run this instead:

$ npm run watch

Icons

To generate all icons, do:

$ npm run icons

This will invoke ImageMagick's convert -resize to create .ico files, and Inkscape's inkscape --export-png to create .png files.

NOTE: You will need to have ImageMagick and Inkscape installed (obviously):

$ brew install imagemagick inkscape

Meta

Contributors

Daniel Perez Alvarez (unindented@gmail.com)

License

Copyright (c) 2015 Daniel Perez Alvarez (unindented.org). This is free software, and may be redistributed under the terms specified in the LICENSE file.