Skip to content

Commit

Permalink
Look ma, indices with no plugins!
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Jan 14, 2015
1 parent 2c50b60 commit c0873a5
Show file tree
Hide file tree
Showing 1,290 changed files with 1,361 additions and 183 deletions.
9 changes: 9 additions & 0 deletions _includes/roundslist.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div class="list-group">
{% assign rounds = site.submissions | where:"layout","roundindex" %}
{% for round in rounds reversed %}
<a href="{{ round.url }}" class="list-group-item">
{{ round.title }}
</a>
{% endfor %}
</div>

12 changes: 0 additions & 12 deletions _layouts/category_index.html

This file was deleted.

9 changes: 2 additions & 7 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@
---
<div class="row">
<div class="col-xs-12 col-sm-3">
{% assign rounds = site.submissions | group_by:"round" %}
<div class="list-group">
{% for round in rounds reversed %}
<a href="{{ round.name | round_url }}" class="list-group-item">{{ round.name | round_title }}</a>
{% endfor %}
</div>
{% include roundslist.html %}
</div>
<div class="col-xs-12 col-sm-9">
<article>
{{ content }}
{{ content }}
</article>
</div>
</div>
4 changes: 2 additions & 2 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
layout: default
---
<div class="col-md-8 col-md-offset-2">
<header>
<div class="page-header">
<h1>{{ page.title }}</h1>
</header>
</div>
<article>
{{ content }}
</article>
Expand Down
8 changes: 8 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,12 @@ <h1>{{ page.title }}</h1>
<article>
{{ content }}
</article>
<div id="related">
<h2>Related Posts</h2>
<ul class="posts">
{% for post in site.related_posts limit:3 %}
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
</div>
13 changes: 0 additions & 13 deletions _layouts/round_index.html

This file was deleted.

15 changes: 15 additions & 0 deletions _layouts/roundindex.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: default
---
<div class="col-md-8 col-md-offset-2">
<div class="page-header">
<h1>{{ page.title }}</h1>
</div>
{% assign submissions = site.submissions | where:"round",page.title %}
{% for submission in submissions %}
<h3>
<a href="{{ submission.url }}">{{ submission.title }}</a>
<small>Submitted by {{ submission.author }} on {{ submission.date | date: "%b %-d, %Y" }}</small>
</h3>
{% endfor %}
</div>
65 changes: 0 additions & 65 deletions _plugins/generate_categories.rb

This file was deleted.

72 changes: 0 additions & 72 deletions _plugins/rounds.rb

This file was deleted.

1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-26-about-ethan-white.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-26
round: Round 1
title: About Ethan White
author: Ethan White
permalink: /2012/08/about-ethan-white/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-26-about-greg-wilson.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-26
round: Round 1
title: About Greg Wilson
author: Greg Wilson
permalink: /2012/08/about-greg-wilson/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-27-about-ben-waugh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-27
round: Round 1
title: About Ben Waugh
author: Ben Waugh
permalink: /2012/08/about-ben-waugh/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-27-about-justin-kitzes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-27
round: Round 1
title: About Justin Kitzes
author: Justin Kitzes
permalink: /2012/08/about-justin-kitzes/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-27-about-katy-huff.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-27
round: Round 1
title: About Katy Huff
author: Katy Huff
permalink: /2012/08/about-katy-huff/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-27-about-lynne-williams.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-27
round: Round 1
title: About Lynne Williams
author: Lynne Williams
permalink: /2012/08/about-lynne-williams/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-27-about-matt-davis.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-27
round: Round 1
title: About Matt Davis
author: Matt Davis
permalink: /2012/08/about-matt-davis/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-27-about-mike-hansen.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-27
round: Round 1
title: About Mike Hansen
author: Michael Hansen
permalink: /2012/08/about-mike-hansen/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-28
round: Round 1
title: About Emily Jane McTavish
author: Emily Jane McTavish
permalink: /2012/08/about-emily-jane-mctavish/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-28
round: Round 1
title: About Hans-Martin von Gaudecker
author: Hans-Martin von Gaudecker
permalink: /2012/08/about-hans-martin-von-gaudecker/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-29-about-justin-ely.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-29
round: Round 1
title: About Justin Ely
author: Justin Ely
permalink: /2012/08/about-justin-ely/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-30-about-erik-bray.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-30
round: Round 1
title: About Erik Bray
author: Erik Bray
permalink: /2012/08/about-erik-bray/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-31
round: Round 1
title: About Dhavide Aruliah
author: Dhavide Aruliah
permalink: /2012/08/about-dhavide-aruliah/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-08-31-about-sarah-supp.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-08-31
round: Round 1
title: About Sarah Supp
author: Sarah Supp
permalink: /2012/08/about-sarah-supp/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-09-01-about-ian-mitchell.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-09-01
round: Round 1
title: About Ian Mitchell
author: Ian Mitchell
permalink: /2012/09/about-ian-mitchell/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-09-03
round: Round 1
title: About Azalee Bostroem
author: Azalee Bostroem
permalink: /2012/09/about-azalee-bostroem/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-09-03
round: Round 1
title: About Carlos Anderson
author: Carlos Anderson
permalink: /2012/09/about-carlos-anderson/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-09-05-about-aron-ahmadia.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-09-05
round: Round 1
title: About Aron Ahmadia
author: Aron Ahmadia
permalink: /2012/09/about-aron-ahmadia/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-09-07-about-tracy-teal.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-09-07
round: Round 1
title: About Tracy Teal
author: Tracy Teal
permalink: /2012/09/about-tracy-teal/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-09-16-about-becky-stewart.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-09-16
round: Round 1
title: About Becky Stewart
author: Becky Stewart
permalink: /2012/09/about-becky-stewart/
Expand Down
1 change: 1 addition & 0 deletions _submissions/round-01/0/2012-09-20-about-adam-stark.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-09-20
round: Round 1
title: About Adam Stark
author: Adam Stark
permalink: /2012/09/about-adam-stark/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-09-03
round: Round 1
title: 'Week 1: Organizing Knowledge'
author: Greg Wilson
permalink: /2012/09/week-1-organizing-knowledge/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
date: 2012-09-06
round: Round 1
title: 'Week 1 &#8211; Shell: Pipes and Filters'
author: Matt Davis
permalink: /2012/09/week-1-shell-pipes-and-filters/
Expand Down
Loading

0 comments on commit c0873a5

Please sign in to comment.