PopPage is a small side project I started a few years but haven't really updated much until recently. PopPage was originally a simple static HTML generator; at the time I just needed a utility to apply content to Jinja2 templates. However, recent updates have effectively made it a cookiecutter clone with a few neat features. Unlike cookiecutter, PopPage information is supplied from YAML files rather than JSON files. As of PopPage 0.3.1
, there are two custom YAML tags: !file
and !cmd
. The !file
tag will populate the associated key with content read from a file while !cmd
will use the output of a CLI command.
The next planned update for PopPage is the ability to render templates supplied via URL. This is a really cool and useful feature provided by cookiecutter that I would like to replicate.
A repository of PopPage templates is available here.
Here is a quick demo of PopPage in action: