krz/hn

A brutalist web client for Hacker News.

clone: git clone https://gitbay.org/krz/hn.git

58ee925fe7e32d449f9541cf7e7b2dc409a5b212

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2023-06-01T02:06:55Z

fix path to class
 index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.php b/index.php
index 436420e..b9c0b63 100644
--- a/index.php
+++ b/index.php
@@ -97,7 +97,7 @@ function get_stories($api_url, $inline_title)
  * @param string $page_content Page content to display in <main>
  */
 function echo_html(string $page_url, string $page_description, string $page_title, string $page_content) {
-	include_once '_classes/template.php';
+	include_once 'src/View/class-template.php';
 
 	$template = new HN\View\Template(
                 $page_url,