From e57cc95dd030a7dd9df59993f0d9977f2733d0b9 Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Wed, 21 May 2025 08:38:41 -0700 Subject: [PATCH] contact us --- index.php | 8 +------- tpl/index.tpl | 11 ++++++++++- 2 files changed, 11 insertions(+), 8 deletions(-) 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 }}}