deno.land / x / opine@2.3.4 / examples / mvc / controllers / user / views / list.ejs
123456789101112131415161718<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="/style.css"> <title>Users</title></head><body> <h1>Users</h1> <p>Click a user below to view their pets.</p> <ul> <% users.forEach(function(user) { %> <li><a href="/user/<%= user.id %>"><%= user.name %></a></li> <% }); %> </ul></body></html>
Version Info