Flatland is a static website generator, created with the intention of being extremely lightweight
PHP HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
App Change web folder to httpdocs Apr 24, 2016
httpdocs
.gitignore Added composer Jun 26, 2015
README.md Updated readme Jun 26, 2015
composer.json
composer.lock

README.md

Flatland is a static website generator, created with the intention of being extremely lightweight. It uses XML for data storage, and PHP for backend.

Templates

It features a rudimentary templating system, with module and menu content being included using curly braces. These can be used within content to enable module embedding.

Data

Check the XML schemas in "App/Lib/Schemas" for an overview of the data models. This should give you an idea of how to add content to your site. Page content is authored using markdown syntax

Layout

Edit the files in "App/Data/Template" to structure your layout.

Usage

Add CSS, JS and image files to "web" folder and use PHP CLI to run "App/generator.php". Eg.

cd /path/to/flatland/App

php generator.php

HTML files will be generated in "web" folder, this must be used as your web root.

License

Feel free to use and distribute.

This is currently a work in progress, I will update as I add more features.

Credits

Parsedown