Drupan is a flexible static site generator helping you to create blogs, single page applications or traditional websites.
Project description
Drupan is a flexible static site generator helping you to create blogs, single page applications or traditional websites. While being opinionated the plugin system allows you to extend it with any functionality you desire.
Quickstart
Install drupan, clone this example site repository and run drupan config.yaml --serve in the cloned directory.
Noteworthy Features
deployment your site using git or directly to AWS S3 and AWS CloudFront
fast page generation
Jinja2 with custom template tags and filters
powerful plugin system
Usage
You can install drupan via pip. To generate your site you just run drupan ~path/to/config.yaml.
Supported command line switches
nodeploy do not deploy the generated site
serve runs a development server on port 9000
deploy deploy your output directory without generation
Readers
filesystem reads content from files with a YAML header
Writers
filesystem writes the generated site to a directory
Deployment
s3cf deploy your site to AWS S3 and optionally invalidate changed files on AWS CloudFront using boto
gitsub commits the changes to git and pushes to a remote server
s3sub uploads your site to AWS S3 using the AWS CLI package
Plugins
blank generates empty Entity instances with a given layout. This can be used to generate index or archive pages
markdown converts entity content from markdown to HTML
tags support for tags which are added to a posts meta information
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file drupan-2.3.3.tar.gz
.
File metadata
- Download URL: drupan-2.3.3.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 736f84e2999a0f501ceb0666c079426a7e62e79eec863185ac809a271531fdee |
|
MD5 | ea3b0a5e5122d965a1570b7de29240a9 |
|
BLAKE2b-256 | d1fd06d73edb2e440409b1c81bbf22d7651a141d8f139f37dc818b1d8ca725e3 |