This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
/
index.html
53 lines (51 loc) · 1.83 KB
/
index.html
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
---
layout: jscroll
pagination:
enabled: true
---
<!-- Banner -->
<section id="banner">
<div class="content">
<header>
<h1>Hi, I’m Editorial<br />
by HTML5 UP</h1>
<p>A free and fully responsive site template</p>
</header>
<p>Aenean ornare velit lacus, ac varius enim ullamcorper eu. Proin aliquam facilisis ante interdum congue. Integer mollis, nisl amet convallis, porttitor magna ullamcorper, amet egestas mauris. Ut magna finibus nisi nec lacinia. Nam maximus erat id euismod egestas. Pellentesque sapien ac quam. Lorem ipsum dolor sit nullam.</p>
<ul class="actions">
<li><a href="{{ '/about' | absolute_url }}" class="button big">Learn More</a></li>
</ul>
</div>
<span class="image object">
<img src="{{ '/assets/img/ms-icon-310x310.png' | absolute_url }}" alt="" />
</span>
</section>
<header class="major">
<h2>Recent posts</h2>
</header>
<!-- Section -->
<section class="jscroll">
<div class="posts">
{% for post in paginator.posts %}
<article>
{% if post.image %}
<a href="{{ post.url | absolute_url }}" class="image">
<img src="{{ post.image | prepend: '/images/' | absolute_url }}" alt="" />
</a>
{% endif %}
<h3>{{ post.title }}</h3>
<h6>{{ post.date | date: '%b %d, %Y' }}</h6>
<p>{{ post.excerpt }}</p>
<ul class="actions">
<li><a href="{{ post.url | absolute_url }}" class="button">More</a></li>
</ul>
</article>
{% endfor %}
</div>
<!-- paginator -->
{% if paginator.next_page_path %}
<div class="pagination">
<a class='button next' href="{{ paginator.next_page_path | absolute_url }}">Load more</a>
</div>
{% endif %}
</section>