Skip to content
This repository

Static website generator

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 dist.ini
README.md

StaticVolt

StaticVolt is a static website generator supporting Template Toolkit 2 (TT2) layouts and both Markdown and Textile content.

Getting Started

  • Install using cpan, cpanm or from source.
  • Create a source and a layout directory:

    mkdir -p docs/{_source,_layouts}

  • Create a simple layout in _layouts/main.html:

    <!DOCTYPE html>
    <html>
        <head>
            <title></title>
        </head>
        <body>
            [% content %]
        </body>
    </html>
    
  • Create some content in _source/index.markdown with a YAML style header:

       ---
       layout: main.html
       drink : water
       ---
       Drink **plenty** of [% drink %].
    
  • Run the staticvolt tool to generate a _site directory containing the processed web-site.

  • Run perldoc StaticVolt for more (or read the docs here).

Copyright and License

This software is Copyright (c) 2011 by Alan Haggai Alavi.

This is free software, licensed under:

    The Artistic License 2.0 (GPL Compatible)
Something went wrong with that request. Please try again.