This is a no-brainer to get your single-post web page up and running. Just have to have Node and NPM installed. Styling is powered by 999.css.
- Place the below
package.jsoninto an empty directory and enter this directory in your command line prompt.
npm run scaffold.
configsection of your
domainmay be either a Surge subdomain or your own (please refer to the Surge docs). If you're going to host your page yourself, you may leave
- Edit your post in the
post.mdfile that appeared in the directory after the scaffolding. The format to write is Markdown.
- Whenever you're ready, just run
npm run build, if you're going to host your page yourself, or
npm run deployfor hosting on Surge (enter your Surge login/password if prompted). In both cases, output will be stored in
Feel free to edit
src/index.html according to your particular needs.
P.S. If you need to take down your page when hosting on Surge, just run
npm run undeploy.