-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
37 lines (34 loc) · 1.14 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
---
layout: default
title: Tmax.ai
group: navigation
---
{% for post in paginator.posts %}
<hr>
<article>
<div class="heading"><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></div>
<p class="meta"><a class="permalink" href="{{ site.baseurl }}{{ post.url }}">●</a> {{ post.date | date_to_string }}</p>
<p>
{% assign author = site.data.authors[post.author] %}
{% if author %}
<B>Written by {{author.name}}</B>
{% endif %}
</p>
<div>
{% if post.excerpt %}
{{ post.excerpt | strip_html | truncatewords: 30}}
{% else %}
{{ post.content }}
{% endif }
</div>
{% include tags.html %}
</article>
{% endfor %}
<ul class="pager">
{% if paginator.previous_page %}
<li class="previous"><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← Newer</a></li>
{% endif %}
{% if paginator.next_page %}
<li class="next"><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older →</a></li>
{% endif %}
</ul>