festivallist.ejs 712 Bytes
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Festival Information</title>
</head>

<body>
    <% for(let i=0; i < posts.length ; i++){ %>
        <h4>제목 : <%= posts[i].title %>
        </h4>
        <h4>주소 : <%= posts[i].addr %>
        </h4>
        <h4>전화번호 : <%= posts[i].tel %>
        </h4>
        <h4>mapx : <%= posts[i].mapx %>
        </h4>
        <h4>mapy : <%= posts[i].mapy %>
        </h4>
        <h4>갱신일 : <%= posts[i].updatedAt %>
        </h4>
        <h4> ------------------- </h4>
        <% } %>
</body>

</html>