You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
||2 years ago|
|src||2 years ago|
|testsite||2 years ago|
|.gitignore||2 years ago|
|LICENSE||2 years ago|
|Makefile||2 years ago|
|README.md||2 years ago|
|blogtool.nginx||2 years ago|
|shard.yml||2 years ago|
BLOGTOOL is a non-bloated static site generator.
There are no themes. You write a project structure like this:
myblog | |-> articles | |-> article1.md | |-> article2.md |-> assets | |-> article1.jpg | |-> photo.png |-> 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 from about.md, each page will include styless.css and all assets will be available at /static. Dashes (-) will be replaced with spaces in the index.
dist | |-> index.html |-> static | |-> article1.jpg | |-> photo.png | |-> styles.css |-> article1.html |-> article2.html |-> about.html
You can build blogtool by running
make && sudo make install. Invoke blogtool by running
blogtool in the project directory. There are no options. You can copy /etc/blogtool/base.html to the project root and make changes to overwrite the template, as long as the string "## CONTENT" is in the template somewhere, as that will be replaced with the article or about page.