Simple file based web site builder.
This package is auto-updated.
Last update: 2021-11-13 00:02:14 UTC
A simple markdown, file based, web site builder.
Fizl Pages makes it easy to map URIs to markdown files. For example, when a user visits
Fizl will render the content in the
All content goes inside the base folder called
content. This can be changed in the configuration.
All pages go inside a
pages folder. Error pages such as the
404 go in an
/content/ pages/ about.md blog/ index.md 01-one.md // blog/one 02-two.md home.md errors/ 404.md
You can create sub pages by putting your files within nested folders.
Lets say a user visits
/about. Fizl will first check if an
about.md exists, if not it will try
Simply write your the page content in markdown syntax.
$pages = new Anomaly\FizlPages\Pages;
$page = $pages->find('home'); echo $page->title; // echoes Home echo $page->date;