From 859f31065da728fcb1387645ab1c92390b372412 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 12 Dec 2024 10:14:46 -0500 Subject: refactor _views folder --- src/web/_views/blog/main.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/web/_views/blog/main.php (limited to 'src/web/_views/blog/main.php') diff --git a/src/web/_views/blog/main.php b/src/web/_views/blog/main.php new file mode 100644 index 0000000..78abaa7 --- /dev/null +++ b/src/web/_views/blog/main.php @@ -0,0 +1,13 @@ + + +

get_url('rss.xml')])?>

+ $post) { + $meta = $post['meta']; + $link = $this->get_url('blog/post/' . substr($name, 0, -3)); + echo '

' . $meta['name'] . '

'; + echo '
' . $meta['desc'] . '
'; + echo '
'; + } + ?> + -- cgit v1.2.3-freya