<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%= title %></title>
    <link rel="stylesheet" href="/static/cats.css">
    <link rel="stylesheet" href="/static/style.css">
</head>
<body>
    <div class="container">
        <h1>Here is a cute cat!</h1>
        <img src=<%= data.src %> alt=<%= data.name %> class="cat-image">
    </div>
    <div>
        <button class="button" 
        onclick="window.location.href='/edit/<%= data.id %>'"
        >Search
    </button>
    </div>
</body>
</html>