Start Theme Repo

This commit is contained in:
2026-01-29 19:10:03 +01:00
commit 101179e994
84 changed files with 14654 additions and 0 deletions

17
page.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
use Timber\Timber;
use RomhackPlaza\Theme\Page_Access;
if( Page_Access::can_access_or_change_content() ) {
$page = Timber::get_post();
$templates_list = [
'pages/' . $page->post_name . '.twig',
'pages/generic.twig',
];
Timber::render($templates_list, Timber::context());
}