forked from bumi/decent-organizations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (36 loc) · 1.49 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
---
layout: default
---
<main class="home" id="post" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog">
<div id="grid" class="row flex-grid">
<div class="categories">
{% for category in site.categories %}
<a href="#{{ category.url | slugify }}">{{ category[0] }}</a>
{% endfor %}
</div>
</div>
<div id="grid" class="row flex-grid">
{% for post in site.posts %}
<article class="box-item post-{{post.main-class}}" itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<span class="ribbon">
<a href="{{site.url}}{{site.baseurl}}/category/{{post.category}}"><span>{{post.category}}</span></a>
</span>
<div class="box-body">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
<h2 class="post-title" itemprop="name">
{{ post.title }}
</h2>
</a>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
<p class="description">{{ post.introduction }}</p>
</a>
<div class="tags">
{% for tag in post.tags %}
<a href="{{site.baseurl}}/tags/#{{tag | slugify }}">{{ tag }}</a>
{% endfor %}
</div>
</div>
</article>
{% endfor %}
</div>
</main>