An octopress-style blog framework written in Chez Scheme.
Perl Scheme HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
posts
2012-10-04-sample-quote.html
2012-10-11-sample-link.html
2012-12-11-sample-picture.html
2012-12-18-sample-text-post.html
Markdown.pl
README.md
awesome-tag-page.html
file-io.scm
generate-posts.scm
image-post.scm
index.css
index.html
link-post.scm
photo-tag-page.html
picture-tag-page.html
quote-post.scm
settings.scm
string-parsing.scm
text-post.scm

README.md

Parenthepress

This is a static blogging engine using Chez Scheme and Perl.

It's novel over most static blogging engings in that it uses post types (a la Tumblr).

Usage

To generate posts, load generate-posts.scm and run

> (generate-posts)

And it just churns out tons of HTML

Adding new posts

Posts are structured as s-exprs. To add a post, call it *.post and add it to posts/. Look at the existing templates.

Structure

  • posts/ stores some posts
  • img/ stores blog images

The preamble and postamble defined in generate-posts.scm determine how the pages look (along with index.css).

The first ~70 linkes of generate-posts.scm contain all of the formatting stuff, and the rest of it is more or less in there, too.

Individual post types are [type]-post.scm and those should be fairly easy to modify/whatever for formatting.

(The entirety of the code is ~675 lines, so nothing should be too hard to find.)