-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
executable file
·52 lines (40 loc) · 1.58 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
51
52
---
layout: default
title: Home
cover: false
---
<header class="site-head" {% if page.cover %} style="background-image: url({{ page.cover }})"{% endif %}>
<div class="vertical">
<div class="site-head-content" class="inner">
<a href="https://dewhurstsecurity.com/"><img src="/assets/images/logo_579x182.png" alt="Dewhurst Security Blog" /></a>
</div>
</div>
</header>
<main class="content" role="main">
{% for post in paginator.posts %}
<article class="post">
<header class="post-header">
<span class="post-meta">
<time datetime="{{ post.date | date: "%Y-%m-%d" }}">{{ post.date | date_to_string }}</time>
</span>
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
</header>
<section class="post-excerpt">
{{ post.excerpt }}
</section>
</article>
{% endfor %}
<nav class="pagination" role="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="newer-posts" href="/" title="Previous Page">« Newer Posts</a>
{% else %}
<a class="newer-posts" href="/page{{ paginator.previous_page }}/" title="Previous Page">« Newer Posts</a>
{% endif %}
{% endif %}
<span class="page-number"> Page {{paginator.page}} of {{paginator.total_pages}} </span>
{% if paginator.next_page %}
<a class="older-posts" href="/page{{ paginator.next_page }}/" title="Next Page">Older Posts »</a>
{% endif %}
</nav>
</main>