VictorPy documentation site

VictorPy 0.1.32 is a simple yet powerful static site generator.

It is inspired by Steve Francia's Hugo, with less talent but some pythonic sugar :)

Features:

  • Jinja2 templating.
  • Shortcodes.
  • Hooks.
  • Action pipeline (collecting files, compiling Less/Transcrypt…).
  • Live server/debug.
  • Easy customization.
  • Pretty fast.

Why a new static site generator?

After having tested many awesome static generator, if you're not totally convinced, check this.

☺ Python.

VictorPy 0.1.32 is Python 3 powered.

You will write shortcodes as Python functions, as well as hook actions, taking advantage of the amazing Python libs ecosystem.

☺ Content driven

Static site generators usually make some funky assumptions about how to map the content tree to site URLs.

VictorPy 0.1.32 has a simple rule: strict content to URL mapping. Folders become sections. Sub-folders become sub-sections. Files become pages.

Custom routing available for no-content "direct to template" URLs.

☺ Want something really simple?

For every Python lover, syntax and readability matters.

Hugo

{{ if isset .Params "title" }}
    <h4>{{ index .Params "title" }}</h4>
{{ end }}

VictorPy 0.1.32

{% if params.title %}
    <h4>{{ params.title }}</h4>
{% endif %}

☺ Full stack

VictorPy 0.1.32 covers the static site building process from A to Z: render pages, build site and execute all the tasks you need thank to hooks, without requirering other frameworks/languages. No Grunt/Gulp/Webpack needed.