template/php/index.php in edge_framework-0.5.0 vs template/php/index.php in edge_framework-0.6.0
- old
+ new
@@ -1,11 +1,11 @@
-<?php include 'partials/_header.php'; ?>
+<?php include "partials/_functions.php"; get("header"); ?>
<!-- Sample content to show how the $root works -->
<div class="row">
- <div class="large-6 large-centered columns">
- <h1>Home page</h1>
- <a href="<?php echo $root; ?>sample-page" class="button">Go</a>
- </div>
+ <div class="large-6 large-centered columns">
+ <h1>Home page</h1>
+ <a href="<?php echo root(); ?>sample-page" class="button">Go to next page</a>
+ </div>
</div>
-<?php include $root.'partials/_footer.php'; ?>
+<?php get("footer"); ?>
\ No newline at end of file