initial commit

This commit is contained in:
2025-04-29 13:58:05 -07:00
commit c074a5ef18
25 changed files with 7230 additions and 0 deletions

15
index.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
// First, render the page header. You'll likely do this on every custom theme
// php file.
get_header();
// Next, gather any data that you want, and pass it to the render method to bind
// your data to a template file. In the example below, the ./tpl/index.tpl file
// will be given the current page content, and today's timestamp.
echo site()->render("index", [
"post" => site()->getCurrentPost(["content", "title", "published_at"]),
"now" => date("Y-m-d H:i:s"),
]);
// ...and finally, make sure you close out your page render the WordPress way!
get_footer();