Skip to content

Commit

Permalink
add games sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Kushagra Gour committed Jul 13, 2013
1 parent e8e622f commit 2d63feb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
8 changes: 7 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ lab_projects:
- name: "piCSSel-artt"
link: "picssel-art/"
- name: "Iso-Blocks"
link: "isoblocks/"
link: "isoblocks/"

games:
- name: "Beat Sight"
link: "beat-sight/"
- name: "Fun With Force"
link: "fun-with-force/"
2 changes: 1 addition & 1 deletion _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ul>
<li><a href="/" class="{% if page.name == 'home' %}selected{% endif %}">/home</a></li>

<!-- <li><a href="#" class="{% if page.name == 'games' %}selected{% endif %}">/games</a></li> -->
<li><a href="/games" class="{% if page.name == 'games' %}selected{% endif %}">/games</a></li>

<li><a href="/lab/" class="{% if page.name == 'lab' %}selected{% endif %}">/lab</a></li>

Expand Down
13 changes: 13 additions & 0 deletions games/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: default
title: Games
name: games
---

{% for game in site.games %}

<article class="list-item list-item--lab">
<a href="{{ game.link }}"><h2 class="post-title">{{ game.name }}</h2></a>
</article>

{% endfor %}

0 comments on commit 2d63feb

Please sign in to comment.