reorganize categories and right sidebar for more clarity
This commit is contained in:
parent
cf25da9431
commit
74d90626b3
|
@ -1,18 +1,23 @@
|
|||
<div class="unit one-fifth hide-on-mobiles">
|
||||
<aside>
|
||||
<h4>General</h4>
|
||||
<ul>
|
||||
<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>
|
||||
</ul>
|
||||
<h4>All Posts</h4>
|
||||
<h4>Recent Releases</h4>
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
{% for post in site.posts limit:5 %}
|
||||
<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>
|
||||
{% endfor %}
|
||||
<li>
|
||||
<a href="/docs/history/">History »</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
|
|
|
@ -5,6 +5,11 @@ layout: news
|
|||
<div class="grid">
|
||||
<div class="unit whole entry">
|
||||
<div class="post single">
|
||||
<h2 class="center-on-mobiles">
|
||||
<a href="{{ page.url }}">
|
||||
{{ page.title }}
|
||||
</a>
|
||||
</h2>
|
||||
<p class="post-content">
|
||||
{{ content }}
|
||||
</p>
|
||||
|
|
|
@ -3,7 +3,8 @@ layout: news_item
|
|||
title: "Jekyll 1.0.0 Released"
|
||||
date: "2013-05-06 02:12:52 +0200"
|
||||
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
|
||||
|
|
|
@ -3,7 +3,8 @@ layout: news_item
|
|||
title: "Jekyll 1.0.1 Released"
|
||||
date: "2013-05-08 23:46:11 +0200"
|
||||
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.)_
|
||||
|
|
|
@ -3,7 +3,8 @@ layout: news_item
|
|||
title: "Jekyll 1.0.2 Released"
|
||||
date: "2013-05-12 14:45:00 +0200"
|
||||
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.)_
|
||||
|
|
|
@ -3,7 +3,8 @@ layout: news_item
|
|||
title: "Jekyll 1.0.3 Released"
|
||||
date: "2013-06-07 21:02:13 +0200"
|
||||
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.)_
|
||||
|
|
|
@ -548,7 +548,6 @@ body > footer a:hover img {
|
|||
}
|
||||
|
||||
.news aside {
|
||||
padding-top: 95px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue