-
Notifications
You must be signed in to change notification settings - Fork 3
/
2019.html
60 lines (52 loc) · 1.92 KB
/
2019.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
53
54
55
56
57
58
59
60
---
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
title: FoxDeploy Archives 2019
food: Pizza
layout: page
show_sidebar: true
hero_image: /assets/images/foxdeployMOUNTAINTOP_hero.webp
---
<style>
meta{
color: #426f86;
font-family: Raleway,Arial,Helvetica,sans-serif;
/* font-size: 13px; */
font-size: 0.6rem;
margin-top: 1em;
}
</style>
<ul>
{% assign postsForYear = site.posts | group_by_exp:"post", "post.date | date: '%Y'" | where: "name", "2019" %}
Posts for year {{ postsForYear[0].name }}, total posts {{ postsForYear[0].size }}
<h2>All Posts for {{ postsForYear[0].name }}</h2>
{% for post in postsForYear[0].items limit:5 %}
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
<div class="meta"><i class="fa fa-calendar" aria-hidden="true"></i> {{ post.date | date: '%B %d, %Y' }}
<i class="fa fa-user" aria-hidden="true"></i> FoxDeploy
</div>
<a href="{{ post.url }}"><img src="{{ post.header }}{{ post.coverImage }}"></a><br>
{{ post.excerpt }}
<i><a href="{{ post.url }}" style="padding-left:25px;">Continue Reading...</a></i>
<div class="tags">
{% for tag in post.tags %}
{% include tag.html tag=tag %}
{% endfor %}
</div>
<hr>
{% endfor %}
</ul>
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">Previous</a>
{% else %}
<span class="previous">Previous</span>
{% endif %}
<span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">Next</a>
{% else %}
<span class="next ">Next</span>
{% endif %}
</div>