forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (59 loc) · 2.01 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
53
54
55
56
57
58
59
60
61
62
63
---
layout: default
---
<div class="posts">
<h1 class="page-heading">Latest posts: The FireAcademy.io Blog</h1>
<ul class="posts">
{% for post in site.categories.fireacademy limit:7 %}
<li class="post">
<span class="special-colour">>> </span>
<a href="{{ post.external_url }}" class="post-entry" target="_blank">{{ post.title }} </a>
<span class="post-date"> ({{ post.date | date: "%B %e, %Y" }}) </span>
</li>
{% endfor %}
</ul>
</div>
<div class="posts">
<h1 class="page-heading">Latest posts: Blog</h1>
<ul class="posts">
{% for post in site.categories.blog limit:7 %}
<li class="post">
<span class="special-colour">>> </span>
<a href="{{ site.baseurl }}{{ post.url }}" class="post-entry">{{ post.title }} </a>
<span class="post-date"> ({{ post.date | date: "%B %e, %Y" }}) </span>
</li>
{% endfor %}
</ul>
</div>
<div class="posts">
<h1 class="page-heading">Latest posts: HackTheBox</h1>
<ul class="posts">
{% for post in site.categories.htb limit:7 %}
{% assign title = post.title | split: " " %}
<li class="post">
<span class="special-colour">>> </span>
<a href="{{ site.baseurl }}{{ post.url }}" class="post-entry">{{ title | first }}</a>
<span class="post-date"> ({{ post.date | date: "%B %e, %Y" }}) </span>
</li>
{% endfor %}
</ul>
</div>
{% if site.categories.countdown %}
<div class="posts">
<h1 class="page-heading">Scheduled Posts</h1>
<ul class="posts">
{% for post in site.categories.countdown %}
{% if post.title contains 'HackTheBox' %}
{% assign title = post.title | split: " " %}
{% else %}
{% assign title = post.title %}
{% endif %}
<li class="post">
<span class="special-colour">>> </span>
<a href="{{ site.baseurl }}{{ post.url }}" class="post-entry">{{ title | first }}</a>
<span class="post-date"> ({{ post.date | date: "%B %e, %Y" }}) </span>
</li>
{% endfor %}
</ul>
</div>
{% endif %}