forked from born2scan/born2scan.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
29 lines (26 loc) · 911 Bytes
/
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
---
layout: page
title: Writeups
subtitle: CTF Writeups
sitemap:
priority: 0.9
---
<ul class="list-years">
{% assign postsByYear = site.posts | group_by_exp:"post", "post.date | date: '%Y'" %}
{% for year in postsByYear %}
<li><a href="#year{{ year.name }}">{{ year.name }}</a></li>
{% endfor %}
</ul>
<hr>
<ul class="list-posts">
{% assign postsByYear = site.posts | group_by_exp:"post", "post.date | date: '%Y'" %}
{% for year in postsByYear %}
<h1 id="year{{ year.name }}" class="align-center">{{ year.name }}</h1>
{% for post in year.items %}
<li class="post-teaser">
<span class="post-teaser__title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></span>
<span class="post-teaser__date">{{ post.date | date: "%d %B %Y" }}</span>
</li>
{% endfor %}
{% endfor %}
</ul>