Site structure

VictorPy 0.1.32 sites are fully stored in a single directory.

This directory should have the following structure:

my-site/
    config.yaml
    shortcodes.py
    content/
        index.md
        a-section/
            index.md
            a-page.md
        another_section/
            index.md
    static/
        images/
        js/
        css/
    templates/
        page.html

Minimal site

A minimal site should have this structure:

my-site/
    config.yaml
    content/
        index.md

Run it!

Once created this folder, you could launch a test server to see your site content by typing victorpy from your site directory (for example: my-site), and then open http://127.0.0.1:5000/.

Command line – More details about how to use the command line tools are provided in the Command line section.