-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (43 loc) · 1.68 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
---
title: Blog
description: Latest news posted on the website.
---
<h1>Hero Damage Blog</h1>
<p>This is our blog. Here, you will be able to find news and articles about our tools and results.</p>
{% for post in paginator.posts %}
<a class="blog-post" href="{{ post.url }}" title="{{ post.title }}">
<h2>{{ post.title }}
<small>{{ post.date | date: "%b %-d, %Y" }}{% if post.author %} – {{ post.author }}{% endif %}</small>
</h2>
{{ post.excerpt }}
<p class="read-more">Read more...</p>
</a>
{% if jekyll.environment == "production" %}
{% assign index_modulo = forloop.index | minus:2 | modulo:5 %}
{% if index_modulo == 0 %}
<hr>
{% include layout-parts/ads/infeed.jekyll %}
{% endif %}
{% endif %}
{% unless forloop.last %}
<hr>
{% endunless %}
{% endfor %}
{% if paginator.total_pages > 1 %}
<div id="blog-table-nav" class="text-right">
<ul class="pagination">
{% if paginator.previous_page %}
<li class="page-item prev"><a class="previous" href="{{ paginator.previous_page_path }}" title="Previous page">Previous</a></li>
{% else %}
<li class="page-item prev disabled"><a class="previous" href="#" title="Previous">Previous</a></li>
{% endif %}
<li class="page-item active">
<a href="#" class="page-link">Page: {{ paginator.page }} of {{ paginator.total_pages }}</a></li>
{% if paginator.next_page %}
<li class="page-item next"><a class="next" href="{{ paginator.next_page_path }}" title="Next page">Next</a></li>
{% else %}
<li class="page-item next disabled"><a class="next" href="#" title="Next page">Next</a></li>
{% endif %}
</ul>
</div>
{% endif %}