summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-10-06 21:23:25 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-10-06 21:23:25 +0100
commit34ba17ceeecd3ac6be9e31be45ee76757da2dec0 (patch)
tree65511f92bdef592056942effba763957e933bf6b /src
parent245e2234eea0596b2f6aabcbf694e7fd6f458486 (diff)
Implement basic index page
Diffstat (limited to 'src')
-rw-r--r--src/templates/index.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/templates/index.php b/src/templates/index.php
new file mode 100644
index 0000000..034f09c
--- /dev/null
+++ b/src/templates/index.php
@@ -0,0 +1,16 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Bookmarks</title>
+ </head>
+ <body>
+ <h1>Hello <?php echo 'World'; ?></h1>
+ <ul>
+ <?php foreach ($bookmarks as $bookmark) { ?>
+ <li><?php echo "[$bookmark->id] $bookmark->url"; ?></li>
+ <?php } ?>
+ </ul>
+ </body>
+</html>