pmd/docs/pages/news/news_archive.html
Andreas Dangel 70ab4f2468 Restructure pages: product is now "pmd", sidebar new, pages moved
Removed the samples mydoc, product1, product2
2017-05-25 12:16:23 +02:00

36 lines
917 B
HTML

---
title: News
sidebar: pmd_sidebar
keywords: news, blog, updates, release notes, announcements
permalink: news_archive.html
toc: false
folder: news
---
<div class="home">
<div class="post-list">
<section id="archive">
<h3>This year's posts</h3>
{%for post in site.posts %}
{% unless post.next %}
<ul class="this">
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
</ul>
<h3>{{ post.date | date: '%Y' }}</h3>
<ul class="past">
{% endif %}
{% endunless %}
<li><time>{{ post.date | date:"%d %b" }}</time><a href="{{ post.url | remove: "/"}}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</section>
<hr/>
</div>
</div>