diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/templates/index.php | 16 | 
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>  | 
