A very simple and easy to use static blogger

Farooq Karimi Zadeh dc242ac5fa A bit updating docs 1 month ago
templates 8a8b9173d3 Adding fobil label 1 month ago
.gitignore edc9ce8fee Initial commit 1 month ago
LICENSE 547a011d6f ... 1 month ago
README.md dc242ac5fa A bit updating docs 1 month ago
fobil.lisp 76ce3bcc62 Finally a working version 1 month ago

README.md

fobil

Farooq's Own Blogger In common Lisp

A very simple and easy to use static blogger coded by Farooq with the help of many of #clschool on freenode.

Usage

Create a directory with posts, pages and templates subdirectories and place fobil.lisp there. Three template files, index.html, post.html and page.html with appropriate format(like default template files which are in this repository) must be present in templates directory.

Create your posts and pages with markdown format in posts and pages directories. Now load fobil.lisp in the same directory:

sbcl --load fobil.lisp

And execute fobil function:

(fobil)

Voila! Your blog's post(s), page(s) and a index file has been created in out directory. But your blog's not ready yet. Copy image/js/css files with appropriate structure to out folder and then deploy. Finish!

To-Do

  • Get root directory from user instead of the default current directory.
  • Copy html pages to out directory (in the case user, perhaps yourself, wants to create custom pages)
  • Convert links(currently you have to enter links ending in .html in posts and pages)

License

For code, it's under ISC. See LICENSE.

Default template files are under CC0.