-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwireframe.php
More file actions
24 lines (21 loc) · 683 Bytes
/
wireframe.php
File metadata and controls
24 lines (21 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php namespace ProcessWire;
/**
* Wireframe bootstrap file
*
* Copy this file to the /site/templates/ directory and modify it to fit your needs. You can provide
* an associative array as a parameter to the render() method and use its contents as variables in
* in your layout, view, and partial files.
*
* @version 0.1.0
* @author Teppo Koivula <teppo@wireframe-framework.com>
* @license Mozilla Public License v2.0 https://mozilla.org/MPL/2.0/
*/
// init Wireframe
$wireframe = $modules->get('Wireframe');
$wireframe->init();
// render the page
echo $wireframe->render([
// 'site_name' => 'Lorem Ipsum',
// 'lang' => 'en',
// 'home' => $pages->get(1),
]);