-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
36 lines (35 loc) · 1.06 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
---
layout: default
title: Home
notitle: true
---
<div class="jumbotron">
<div class="row">
{% if site.front_page_pics != null %}
{% for pic in site.front_page_pics %}
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="card" style="background-color:#eee;border:0;box-shadow:none">
<img class="rounded" src="{{ pic.img | prepend: site.baseurl }}">
<p class="card-text text-xs-center text-muted">{{ pic.description }}</p>
</div>
</div>
{% endfor %}
{% endif %}
</div>
<div class="row">
<p>{{ site.description | markdownify }}</p>
</div>
</div>
<h2>News</h2>
<ul class="news list-unstyled">
{% for post in site.posts limit: site.front_page_news %}
{% include news-item.html item=post %}
{% endfor %}
</ul>
{% assign numposts = site.posts | size %}
{% if numposts >= site.front_page_news %}
<div style="display:inline-flex;align-items:center">
<div class="newsicon" style="padding-right:10px"><i class="fa fa-history"></i></div>
<a href="{{ site.baseurl }}Archive">Older posts…</a>
</div>
{% endif %}