forked from 389ds/389ds.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
whats_new.html
30 lines (29 loc) · 794 Bytes
/
whats_new.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
---
title: What's New on port389.org?
layout: default
no_date: true
---
<!--
If a page shouldn't appear in this list, add "no_date: true" to that page's YAML front-matter.
-->
<div>
<h2 class="text-left">Recently Updated Pages</h2>
<hr>
</div>
<div id="whats-new">
{% for page in site.data.new_pages %}
{% capture current_page_date %}{{ page.date_modified | date: "%-d %B %Y" }}{% endcapture %}
{% if current_page_date != prev_page_date %}
{% unless forloop.first %}
</ul>
{% endunless %}
<h3>{{ current_page_date }}</h3>
<ul>
{% capture prev_page_date %}{{ current_page_date }}{% endcapture %}
{% endif %}
<li><a href="{{ site.baseurl }}{{ page.url }}.html">{{ page.title }}</a></li>
{% if forloop.last %}
</ul>
{% endif %}
{% endfor %}
</div>