Skip to content

Flatland is a static website generator, created with the intention of being extremely lightweight

Notifications You must be signed in to change notification settings

joewebber/flatland-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Flatland is a static website generator, created with the intention of being extremely lightweight

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published