forked from brianmaierjr/long-haul
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·35 lines (34 loc) · 1.15 KB
/
index.html
File metadata and controls
executable file
·35 lines (34 loc) · 1.15 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: default
title: Jinesh Codes
sitemap:
priority: 0.8
changefreq: 'monthly'
lastmod: 2022-01-28T12:49:30-05:00
---
<div class="home" id="home">
<h1 class="pageTitle">Recent Posts</h1>
<div class="posts noList">
{%- for post in paginator.posts -%}
<article>
<span class="date">{{ post.date | date: '%B %d, %Y' }}</span>
<h3><a class="post-link" href="{{ post.url }}">{{ post.title }}</a></h3>
{%- if post.image -%}
<div class="featuredImage" href="{{ post.url }}">
<img src="{{ '/assets/img/' | append: post.image }}" alt="" />
</div>
{%- endif -%}
<p>{%- if post.description -%}{{ post.description }}{%- else -%}{{ post.excerpt | strip_html }}{%- endif -%}</p>
</article>
{%- endfor -%}
</div>
<!-- Pagination links -->
<div class="pagination">
{%- if paginator.previous_page -%}
<a href="{{ paginator.previous_page_path }}" class="previous button__outline">Newer Posts</a>
{%- endif -%}
{%- if paginator.next_page -%}
<a href="{{ paginator.next_page_path }}" class="next button__outline">Older Posts</a>
{%- endif -%}
</div>
</div>