forked from USG-Website-Templates/microsite-template-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (35 loc) · 852 Bytes
/
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
---
layout: default
title: Microsite Template 2
---
{% capture index %}{% include index.md %}{% endcapture %}
{{ index | markdownify }}
{% if site.repos %}
<section id="repositories">
<h2>Repositories</h2>
<ul class="repo-list group">
<li class="list-icon">
<img src="assets/img/octocat.png" width="25px" alt="">
</li>
{% for repo in site.repos %}
<li>
<a href="{{ repo.url }}">
<h4>{{ repo.name }}</h4>
<p>{{ repo.description }}</p>
</a>
</li>
{% endfor %}
</ul>
</section>
{% endif %}
<div id="home">
<h2>Posts</h2>
<ul class="posts">
{% for post in site.posts %}
<li>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<span class="post-date">{{ post.date | date_to_string }}</span>
</li>
{% endfor %}
</ul>
</div>