Add example file.
This commit is contained in:
4
example/site/blog/000-first.cfg.php
Normal file
4
example/site/blog/000-first.cfg.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$blog_title = "My First Post";
|
||||
$blog_date = "2022-11-07";
|
||||
?>
|
9
example/site/blog/000-first.html.php
Normal file
9
example/site/blog/000-first.html.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
include("site/blog/000-first.cfg.php");
|
||||
$title = $blog_title;
|
||||
include("templates/header.html.php");
|
||||
?>
|
||||
<p>My first blog post.</p>
|
||||
<?php
|
||||
include("templates/footer.html.php");
|
||||
?>
|
Reference in New Issue
Block a user