Go to file
knotteye 7000999dd1 Add templates folder 2020-12-22 11:19:44 -06:00
templates Add templates folder 2020-12-22 11:19:44 -06:00
testsite Make a test site, start converting from markdown to html 2020-12-22 11:14:44 -06:00
.gitignore Make a test site, start converting from markdown to html 2020-12-22 11:14:44 -06:00
README.md Make a test site, start converting from markdown to html 2020-12-22 11:14:44 -06:00
blogtool Initial commit with README, structure, dependencies and nginx blocks. 2020-12-22 09:15:14 -06:00
blogtool.nginx Initial commit with README, structure, dependencies and nginx blocks. 2020-12-22 09:15:14 -06:00
index.js Make a test site, start converting from markdown to html 2020-12-22 11:14:44 -06:00
package-lock.json Initial commit with README, structure, dependencies and nginx blocks. 2020-12-22 09:15:14 -06:00
package.json Initial commit with README, structure, dependencies and nginx blocks. 2020-12-22 09:15:14 -06:00

README.md

BLOGTOOL is a stupid simple static site generator

There are no themes or templates. You write a project structure like this:

myblog
|
|-> articles
|   |-> article1.md
|   |-> article2.md
|-> assets
|   |-> article1.jpg
|   |-> photo.png
|-> profile.jpg
|-> about.md
|-> styles.css

with utf-8 encoded articles. Blogtool generates a static site in dist/ with a list of articles for the home page, an about page with a profile picture and bio from profile.jpg and about.md, each page will include styless.css and all assets will be available at /static.

dist
|
|-> index.html
|-> static
|   |-> article1.jpg
|   |-> photo.png
|   |-> profile.jpg
|   |-> styles.css
|-> article1.html
|-> article2.html
|-> about.html

Invoke blogtool with blogtool after installing dependencies and adding the bin to your path. Run it in your project's root. There are no options. It will not remove old files from dist/.