-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathexample.ejs
More file actions
56 lines (46 loc) · 1.56 KB
/
example.ejs
File metadata and controls
56 lines (46 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!-- insta parser 예제입니다. -->
<!DOCTYPE html>
<html>
<head>
<title>Insta Parser Example</title>
<link rel="stylesheet" type="text/css" href="/slick/slick.css"/>
<!-- Add the slick-theme.css if you want default styling -->
<link rel="stylesheet" type="text/css" href="/slick/slick-theme.css"/>
<link rel="stylesheet" type="text/css" href="/css/example.css"/>
</head>
<body>
<header class="header">
<span class="header-title">
<h1>Instagram Parser Example</h1>
</span>
</header>
<section>
<h2 class="title">Most Photo - <%= tag %></h2>
<div class="carousel">
<% for(var i=0; i<topPost.length; i++) {%>
<div class="imgWrap">
<img src="<%= topPost[i].thumbnail_src %>" alt="polaroid" />
<p class="imgDescription"><%= topPost[i].caption %></p>
</div>
<% } %>
</div>
<h2 class="title">Recent Photo - <%= tag %></h2>
<div class="carousel">
<% for(var i=0; i<recentPost.length; i++) {%>
<div class="imgWrap">
<img src="<%= recentPost[i].thumbnail_src %>" alt="recentPost[i].date" />
<p class="imgDescription"><%= recentPost[i].caption %></p>
</div>
<% } %>
</div>
</section>
<footer class="footer">
<span class="footer-context">
<h4>Copyright © 2016 instaparser Team.</h4>
</span>
</footer>
<script type="text/javascript" src="/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/slick/slick.min.js"></script>
<script type="text/javascript" src="/js/example.js"></script>
</body>
</html>