-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (49 loc) · 1.92 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
---
layout: default
---
<div class="spotlight" id="spotlight">
<canvas id="demo-canvas"></canvas>
<div class="spotlight-container">
<div class="container">
<h1 class="text-center animated bounceInDown">{{ site.description }}</h1>
</div>
</div>
</div>
<div class="container">
<div class="widget">
<h3><i class="fa fa-folder-open"></i> featured projects</h3>
<div class="row">
{% assign sorted_projects = site.projects | sort:'created' | reverse: %}
{% for project in sorted_projects | limit: 4 %}
{% assign is_last = forloop.index | modulo: 4 %}
<!--{% unless forloop.index != 3 %}-->
<!--{% include bannerAd.html %}-->
<!--{% endunless %}-->
<div class="columns six">
{% include projectExcerpt.html project=project index=forloop.index last=is_last %}
</div>
{% if forloop.index == 2 %}
</div>
<div class="row">
{% endif %}
{% endfor %}
</div>
<a href="/projects">See all »</a>
</div>
<!--<div class="widget">-->
<!--<h3><i class="fa fa-sticky-note"></i> recent posts</h3>-->
<!--<div class="row">-->
<!--{% for post in site.posts | limit: 6 %}-->
<!--{% assign is_last = forloop.index | modulo: 3 %}-->
<!--<div class="columns four">-->
<!--{% include postExcerpt.html post=post index=forloop.index last=is_last truncate=true %}-->
<!--</div>-->
<!--{% if forloop.index == 3 %}-->
<!--</div>-->
<!--<div class="row">-->
<!--{% endif %}-->
<!--{% endfor %}-->
<!--</div>-->
<!--<a href="/blog">See all »</a>-->
<!--</div>-->
</div>