cld-ssg

The static site generator (to be) used for hellocld.com
git clone git://git.hellocld.com/cld-ssg
Log | Files | Refs | README

commit c5fb7406a65e231ae8c1ae8bbc6152c06f42c0db
parent 210fe8483d8861afcda6ebe4c855578b3cd58c12
Author: Christopher Ray Langford <chris@hellocld.com>
Date:   Tue,  1 Oct 2019 17:04:23 -0400

Added README and LICENSE

Diffstat:
ALICENSE.txt | 15+++++++++++++++
AREADME.md | 15+++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/LICENSE.txt b/LICENSE.txt @@ -0,0 +1,15 @@ +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. diff --git a/README.md b/README.md @@ -0,0 +1,15 @@ +# cld-ssh + +cld-ssg is a simple static blog generator I created for generating my personal homepage. It's written in pure C, relies on the excellent [cmark](https://github.com/commonmark/cmark) library for parsing Commonmark and dirent.h functionality for navigating directories. + +Configuration is done by modifying the parameters in config.h. When the application is run it generates the following: + +- index.html + - The full contents of the most recent INDEX_COUNT posts +- archive.html + - A list of all posts on the site + +It also copies the contents of RESOURCESDIR into the HTMLDIR recursively, so any images/CSS/static HTML/other files you want to host should go in there. + +cld-ssg is licensed under the zlib license. If you do use it, awesome! I'd love to hear what you think and see what you create with it. +