-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
67 lines (62 loc) · 2.82 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
66
67
---
layout: base
---
<div class="blog-cover" style="background-image:url(/images/{{ site.inc.cover_image }});">
<section>
<div class="container">
<h1>{{ site.inc.title }}</h1>
{% if site.inc.subtitle %}<h3>{{ site.inc.subtitle }}</h3>{% endif %}
{% if site.inc.github %}
<a class="social" href="https://github.com/{{ site.inc.github }}" title="Follow on GitHub" target="_blank"><i class="icon icon-github"></i></a>
{% endif %}
{% if site.inc.twitter %}
<a class="social" href="https://twitter.com/{{ site.inc.twitter }}" title="Follow on Twitter" target="_blank"><i class="icon icon-twitter"></i></a>
{% endif %}
{% if site.inc.facebook %}
<a class="social" href="http://facebook.com/{{ site.inc.facebook }}" title="Like on Facebook" target="_blank"><i class="icon icon-facebook"></i></a>
{% endif %}
<a class="social" href="/feed.xml" title="RSS Feed">
<i class="icon icon-rss"></i>
</a>
<a class="social" href="http://feedburner.google.com/fb/a/mailverify?uri=sdslabs/IOpf1&loc=en_US" title="Email Updates">
<i class="icon icon-mail"></i>
</a>
<div class="links">
<a href="/">Home</a><!-- | -->
<!-- <a href="/engineering">Engineering</a> -->
</div>
</div>
</section>
</div>
<article class="container">
{% for post in paginator.posts %}
{% unless post.draft %}
{% unless post.categories contains 'engineering' %}
<section class="index">
<!-- {% if post.author.image %}<img src="/images/{{ post.author.image }}" class="avatar">{% endif %}-->
<div>
<h2 class="title"><a href="{{ post.url }}" rel="prefetch">{{ post.title }}</a></h2>
<p>{{ post.excerpt }}</p>
<div class="meta">
{% if post.author %} Written By <address>{{ post.author.name }}</a> — {% endif %}
<time pubdate datetime="{{ post.date | date: "%Y-%d-%B" }}" title="{{ post.date | date: "%B %d, %Y" }}">{{ post.date | date: "%B %d, %Y" }}</time>
</div>
</div>
<hr>
</section>
{% endunless %}
{% endunless %}
{% endfor %}
<section class="pagination" style="text-align:center">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/" class="btn btn-outline">‹ Newer</a>
{% else %}
<a href="/page{{ paginator.previous_page }}" class="btn btn-outline">‹ Newer</a>
{% endif %}
{% endif %}
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}" class="btn btn-outline">Older ›</a>
{% endif %}
</section>
</article>