-
Notifications
You must be signed in to change notification settings - Fork 41
/
index.html
50 lines (50 loc) · 1.61 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
---
layout: default
group: home
---
{% include JB/setup %}
<div class="page-title-inline">
{% if page.group == 'home' %}
<h1>{{ site.title }} </h1>
{% if site.tagline %}<h2>{{ site.tagline }}</h2>{% endif %}
{% else %}
<h1>{{ page.title }} </h1>
{% if page.tagline %}<h2>{{ page.tagline }}</h2>{% endif %}
{% endif %}
</div>
<div class="cont932">
<hr style="margin-top: 0;">
<div id="journal-articles-block">
{% for post in paginator.posts %}
<div class="journal-article">
<div class="journal-post-info">
{% assign categories_list = post.categories %}
{% assign category = categories_list.first %}
{% include themes/Snail/category.html %}
{% assign categories_list = nil %}
</div>
<div class="journal-body">
<h1 class="journal-title"><a href="{{ BASE_PATH}}{{ post.url }}">{{ post.title }}</a><span class="author">{{ post.tagline }}</span></h1>
{% case site.excerpt %}
{% when "truncate_words" %}
<span class="teaser"><p>{{ post.content | strip_html | truncatewords: 20 }}</p>
{% when "teaser" %}
<span class="teaser">{{ post.content | split:'<!--more-->' | first }}
{% endcase %}
</span>
<span class="readmore"><a href="{{ BASE_PATH}}{{ post.url }}">Read More</a></span>
</div>
</div>
<div class="clearboth"></div>
{% endfor %}
</div>
{% if paginator.next_page %}
<div id="journal-arrows-cont">
<a href="{{ BASE_PATH}}{{ paginator.next_page_path }}" class="journal-arrow ja-forward"></a>
</div>
{% endif %}
<div class="clearboth"></div>
<div id="journal-loadmore">Load More…</div>
<div class="clearboth"></div>
</div>
<div class="clearboth"></div>