https://github.com/alanhaggai/staticvolt
Static website generator
https://github.com/alanhaggai/staticvolt
perl
Last synced: 8 months ago
JSON representation
Static website generator
- Host: GitHub
- URL: https://github.com/alanhaggai/staticvolt
- Owner: alanhaggai
- Created: 2011-11-28T19:58:44.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2017-01-24T17:14:46.000Z (over 9 years ago)
- Last Synced: 2024-04-18T03:24:10.251Z (about 2 years ago)
- Topics: perl
- Language: Perl
- Homepage:
- Size: 26.4 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
StaticVolt
==========
**StaticVolt** is a static website generator supporting [Template Toolkit 2](http://template-toolkit.org)
(TT2) layouts and both [Markdown](http://daringfireball.net/projects/markdown/) and Textile content.
Getting Started
==========
* Install using *cpan*, [*cpanm*](http://search.cpan.org/~miyagawa/App-cpanminus-1.5019/bin/cpanm) or from source.
* Create a source and a layout directory:
`mkdir -p docs/{_source,_layouts}`
* Create a simple layout in *_layouts/main.html*:
[% content %]
* 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](http://search.cpan.org/~haggai/StaticVolt-0.03/lib/StaticVolt.pm)).
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)