reorganize categories and right sidebar for more clarity

This commit is contained in:
Coby Chapple 2013-07-08 14:56:44 +01:00
parent cf25da9431
commit 74d90626b3
8 changed files with 38 additions and 10 deletions

View File

@ -1,18 +1,23 @@
<div class="unit one-fifth hide-on-mobiles"> <div class="unit one-fifth hide-on-mobiles">
<aside> <aside>
<h4>General</h4>
<ul> <ul>
<li class="{% if page.title == 'News' %}current{% endif %}"> <li class="{% if page.title == 'News' %}current{% endif %}">
<a href="/news/">News Listing</a> <a href="/news/">All News</a>
</li>
<li class="{% if page.title == 'Releases' %}current{% endif %}">
<a href="/news/releases/">Jekyll Releases</a>
</li> </li>
</ul> </ul>
<h4>All Posts</h4> <h4>Recent Releases</h4>
<ul> <ul>
{% for post in site.posts %} {% for post in site.posts limit:5 %}
<li class="{% if page.title == post.title %}current{% endif %}"> <li class="{% if page.title == post.title %}current{% endif %}">
<a href="{{ post.url }}">{{ post.title }}</a> <a href="{{ post.url }}">Version {{ post.version }}</a>
</li> </li>
{% endfor %} {% endfor %}
<li>
<a href="/docs/history/">History »</a>
</li>
</ul> </ul>
</aside> </aside>
</div> </div>

View File

@ -5,6 +5,11 @@ layout: news
<div class="grid"> <div class="grid">
<div class="unit whole entry"> <div class="unit whole entry">
<div class="post single"> <div class="post single">
<h2 class="center-on-mobiles">
<a href="{{ page.url }}">
{{ page.title }}
</a>
</h2>
<p class="post-content"> <p class="post-content">
{{ content }} {{ content }}
</p> </p>

View File

@ -3,7 +3,8 @@ layout: news_item
title: "Jekyll 1.0.0 Released" title: "Jekyll 1.0.0 Released"
date: "2013-05-06 02:12:52 +0200" date: "2013-05-06 02:12:52 +0200"
author: parkr author: parkr
categories: [release, jekyll] version: 1.0.0
categories: [releases, general]
--- ---
Hey! After many months of hard works by Jekyll's contributors, we're excited Hey! After many months of hard works by Jekyll's contributors, we're excited

View File

@ -3,7 +3,8 @@ layout: news_item
title: "Jekyll 1.0.1 Released" title: "Jekyll 1.0.1 Released"
date: "2013-05-08 23:46:11 +0200" date: "2013-05-08 23:46:11 +0200"
author: parkr author: parkr
categories: [release, jekyll] version: 1.0.1
categories: [releases, general]
--- ---
_(Take a look at the [History][] page in the docs for more detailed information.)_ _(Take a look at the [History][] page in the docs for more detailed information.)_

View File

@ -3,7 +3,8 @@ layout: news_item
title: "Jekyll 1.0.2 Released" title: "Jekyll 1.0.2 Released"
date: "2013-05-12 14:45:00 +0200" date: "2013-05-12 14:45:00 +0200"
author: parkr author: parkr
categories: [release, jekyll] version: 1.0.2
categories: [releases, general]
--- ---
_(Take a look at the [History][] page in the docs for more detailed information.)_ _(Take a look at the [History][] page in the docs for more detailed information.)_

View File

@ -3,7 +3,8 @@ layout: news_item
title: "Jekyll 1.0.3 Released" title: "Jekyll 1.0.3 Released"
date: "2013-06-07 21:02:13 +0200" date: "2013-06-07 21:02:13 +0200"
author: parkr author: parkr
categories: [release, jekyll] version: 1.0.3
categories: [releases, general]
--- ---
_(Take a look at the [History][] page in the docs for more detailed information.)_ _(Take a look at the [History][] page in the docs for more detailed information.)_

View File

@ -548,7 +548,6 @@ body > footer a:hover img {
} }
.news aside { .news aside {
padding-top: 95px;
padding-left: 20px; padding-left: 20px;
} }

View File

@ -0,0 +1,15 @@
---
layout: news
title: Releases
permalink: /news/releases/
author: all
---
<div class="grid">
{% for post in site.categories.releases %}
<div class="unit whole entry">
{% include news_item.html %}
</div>
{% endfor %}
<div class="clear"></div>
</div>