Genereto Documentation

Templating System

Genereto uses a simple variable replacement system for templates.

Basic Usage

Variables are accessed using the $GENERETO['variable_name'] syntax:

<title>$GENERETO['title']</title>
<meta name="description" content="$GENERETO['description']">

Content Replacement

The main content is replaced between special markers:

<!-- start_content -->
This content will be replaced
<!-- end_content -->