This converts a fairly standard Pelican blog (that uses markdown) to a fairly standard Lektor blog. Execute the converter skript in a directory containing all your blog posts (nested subdirectories work, too).
The models directory contains the Lektor model definitions for blog and blog post.