This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (56 loc) · 2.05 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
54
55
56
57
58
59
60
61
62
63
64
65
---
layout: default
image: /assets/images/surfacebook.jpg
---
<section class="previews">
<div>
<figure class="absolute-bg" style="background-image: url('{{ page.image }}');"></figure>
<div class="previews__container">
<span>Welcome to</span>
<h1>{{ site.title }}</h1>
<div>
<img src="/assets/images/devoctomy_icon.png" />
</div>
</div>
</div>
<div>
<header>
<ul class="tabs">
<li class="tabs__item">Posts</li>
<li class="tabs__item">Categories</li>
<li class="tabs__item">About</li>
<li class="tabs__item">Contact</li>
</ul>
</header>
<div class="tab">
<ul itemscope itemtype="http://schema.org/Blog">
{% for post in paginator.posts %}
{% if post.type == "blog" %}
<li class="preview" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<a class="preview__link" href="{{ post.url | prepend: site.baseurl }}" itemprop="url">
<span class="preview__date" itemprop="datePublished" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2 class="preview__header" itemprop="name">{{ post.title }}</h2>
<p class="preview__excerpt" itemprop="description">{{ post.content | strip_html | truncatewords: 50 }}</p>
<span class="preview__more"><i class="far fa-newspaper"></i> Read More</span>
</a>
</li>
{% endif %}
{% endfor %}
</ul>
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Previous</a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}">Next</a>
{% endif %}
</div>
{% endif %}
{% include archive-link.html %}
</div>
{% include categories-tab.html %}
{% include about-tab.html %}
{% include contact-tab.html %}
</div>
</section>