-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (33 loc) · 1.07 KB
/
index.html
File metadata and controls
35 lines (33 loc) · 1.07 KB
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
---
layout: homeP
title: Cowboy Collective
---
<!-- This loops through the paginated posts -->
<section class="main-content" id="marg">
{% for post in paginator.posts %}
<li>
<div class="list">
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<h2><b><a href="{{ site.url }}/cowboy/{{ post.cowboy }}">{{ post.cowboy | upcase }}</a></b></h2>
<p><a href="{{ post.url }}" style="text-decoration: none;"><img src="{{ post.photo }}">{{ post.content | strip_html | strip_newlines | truncate: 350 }}</a></p>
<br><br><br><br>
</div>
</li>
{% endfor %}
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">
<div id="leftar"></div>
</a>
{% else %}
<span class="previous"></span>
{% endif %}
<h2 id="centered"><b><a href="{{ site.url }}/IndexDate">VIEW ALL</a></b></h2>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next"><div id="rightar"></div></a>
{% else %}
<span class="next "></span>
{% endif %}
</div>
</section>