Jungmin Park

add festivalList.ejs

1 +<!DOCTYPE html>
2 +<html>
3 +
4 +<head>
5 + <meta charset="UTF-8">
6 + <meta http-equiv="X-UA-Compatible" content="IE=edge">
7 + <meta name="viewport" content="width=device-width, initial-scale=1.0">
8 + <title>Festival Information</title>
9 +</head>
10 +
11 +<body>
12 + <% for(let i=0; i < posts.length ; i++){ %>
13 + <h4>제목 : <%= posts[i].title %>
14 + </h4>
15 + <h4>주소 : <%= posts[i].addr %>
16 + </h4>
17 + <h4>전화번호 : <%= posts[i].tel %>
18 + </h4>
19 + <h4>mapx : <%= posts[i].mapx %>
20 + </h4>
21 + <h4>mapy : <%= posts[i].mapy %>
22 + </h4>
23 + <h4>갱신일 : <%= posts[i].updatedAt %>
24 + </h4>
25 + <h4> ------------------- </h4>
26 + <% } %>
27 +</body>
28 +
29 +</html>
...\ No newline at end of file ...\ No newline at end of file