C Roff CSS Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.md Prepare for read-only repository on GitHub. Feb 9, 2016
Makefile Bump version. Aug 16, 2018
README.md http -> https. Jul 16, 2018
archive.xml Replacing VERSION/VDATE with sblg last updated. Jan 8, 2018
article.c Beginning of custom value setting by allowing data-sblg-set-xxxx="yyy… Jul 22, 2017
article.css Replacing VERSION/VDATE with sblg last updated. Jan 8, 2018
article.xml Replacing VERSION/VDATE with sblg last updated. Jan 8, 2018
article1.xml Add ability to override relative positioning. Feb 9, 2016
article10.md Add new markdown article. Dec 7, 2016
article2.xml Add ability to override relative positioning. Feb 9, 2016
article4.xml Add ability to override relative positioning. Feb 9, 2016
article5.xml Add ability to override relative positioning. Feb 9, 2016
article6.xml Add ability to override relative positioning. Feb 9, 2016
article7.xml Add ability to override relative positioning. Feb 9, 2016
article8.xml Add ability to override relative positioning. Feb 9, 2016
article9.xml Add ability to override relative positioning. Feb 9, 2016
atom-template.xml Documentation, web, and get version ready. Aug 2, 2014
atom.c Use proper UTC time instead of local time. Aug 16, 2018
compats.c Update oconfigure. Jul 16, 2018
compile.c More err.h usage. Mar 18, 2017
configure Update oconfigure. Jul 16, 2018
extern.h artpos is <0 if not in single-view of navigation mode. Jul 16, 2018
grok.c Allow sblg-get to occur within navtags and articletags. Jul 16, 2018
index.css Clean up. Jul 16, 2018
index.xml Replacing VERSION/VDATE with sblg last updated. Jan 8, 2018
json.c Allow for reverse-date ordering from the command-line. Sep 23, 2017
linkall.c Use proper UTC time instead of local time. Aug 16, 2018
listtags.c Clarify -l, add -j and -r to mix. Mar 19, 2017
main.c Use if instead of ifdef. Oct 18, 2017
mandoc.css Clean up HTML a bit: https links, new OpenBSD manpage link, fixed pre… Jun 15, 2016
sblg.h Allow overriding the search order for navigation. Sep 24, 2017
sblg.in.1 Allow for ${sblg-has[|key]}, which tests for the existence of a key a… Aug 16, 2018
schema.json Put sblg version into JSON output. Oct 3, 2016
tests.c Update oconfigure. Jul 16, 2018
util.c Check for NULL. Aug 16, 2018
versions.xml Bump version. Aug 16, 2018

README.md

Synopsis

sblg is a utility for creating static blogs. It knits articles together with templates, generating static HTML files, Atom feeds, and JSON files. It's built for use with make-style build environments insofar as a blog depends upon articles.

Benefits?
No markdown (unless...), no "CMS", no CGI, no PHP. Just a simple open source tool for pulling data from articles and populating templates. The only dependency is libexpat for parsing article content.

This GitHub repository is a read-only mirror of the main repository, which is held on BSD.lv. I keep it up to date between versions; so if you have issues to report, please do so here.

Examples

Read sblg(1) for a detailed runthrough of operation, or visit the sblg blog for some examples.

Installation

sblg works out-of-the-box with modern UNIX systems. Simply download the latest version's source archive (or download the project from GitHub), configure with ./configure, compile with make, then sudo make install (or doas make install, if you're on OpenBSD).

License

All sources use the ISC (like OpenBSD) license. See the LICENSE.md file for details.