diff --git a/index.php b/index.php index 4b42e63..0cddb27 100644 --- a/index.php +++ b/index.php @@ -1,12 +1,6 @@ render("index", site()->getCurrentPost(["content", "title"])); +echo site()->render("index", site()->getCurrentPost(["content", "title", "thumbnail"])); -// ...and finally, make sure you close out your page render the WordPress way! get_footer(); diff --git a/tpl/index.tpl b/tpl/index.tpl index 11ef396..695b6f4 100644 --- a/tpl/index.tpl +++ b/tpl/index.tpl @@ -1,8 +1,17 @@ + + + + + Contact Us + + + + + - {{ title }} {{{ content }}}