Leafpub templates are built with a simple but powerful template system called Handlebars. If you've never used Handlebars before, you're in for a treat.
Handlebar templates are easy to create and don't require any PHP programming whatsoever.
The easiest way to get started is to open the .hbs files in content/themes/range and play around with them. They're just HTML files with {{placeholders}}
, so it won't be long before you're building your own themes. For more info about themes, check out these posts.
Tip: You might need to configure your text editor to open .hbs files.
Plugins aren't supported in the beta release of Leafpub, but they're coming soon. I want to creating a solid foundation before we start building things on top of it.
In the meantime, let me know how you'd like to extend Leafpub by tweeting to @leafpub!