committing new version of jekyll doc theme -- 5.0, with some refinements to come with the documentation
This commit is contained in:
40
news/news_archive.html
Normal file
40
news/news_archive.html
Normal file
@ -0,0 +1,40 @@
|
||||
---
|
||||
title: News
|
||||
sidebar: tags_sidebar
|
||||
keywords: news, blog, updates, release notes, announcements
|
||||
permalink: /news_archive/
|
||||
toc: none
|
||||
---
|
||||
|
||||
<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 }}">{{ post.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
||||
<hr/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user