Made pages an array

This commit is contained in:
thepaperpilot 2016-01-20 13:31:52 -06:00
parent 254a43c982
commit 3e73075ab3
9 changed files with 29 additions and 48 deletions

View file

@ -3,3 +3,4 @@ markdown: kramdown
kramdown: kramdown:
input: GFM input: GFM
permalink: /blog/:year/:month/:day/:title permalink: /blog/:year/:month/:day/:title
projects: [kiosk, space, ican, strange, solar, drawing]

View file

@ -35,12 +35,13 @@
<nav> <nav>
<ul> <ul>
<li><a href="/">Home</a></li> <li><a href="/">Home</a></li>
<li><a href="/kiosk">Computer Science Kiosk</a></li> {% for project in site.projects %}
<li><a href="/space">Space Game</a></li> {% for page in site.pages %}
<li><a href="/ican">iCan</a></li> {% if page.short == project %}
<li><a href="/strange">12 is Strange</a></li> <li><a href="{{ project.permalink }}">{{ project.title }}</a></li>
<li><a href="/solar">Solar TD</a></li> {% endif %}
<li><a href="/drawing">Digital Drawing</a></li> {% endfor %}
{% endfor %}
</ul> </ul>
</nav> </nav>
<div class="container"> <div class="container">

View file

@ -1,6 +1,7 @@
--- ---
layout: default layout: default
title: Digital Drawing title: Digital Drawing
short: drawing
--- ---
# Digital Drawing! # Digital Drawing!

View file

@ -1,6 +1,7 @@
--- ---
layout: default layout: default
title: iCan title: iCan
short: ican
--- ---
# iCan! # iCan!

View file

@ -1,6 +1,7 @@
--- ---
layout: default layout: default
title: The Paper Pilot title: The Paper Pilot
name: Home
--- ---
# Hello! # Hello!
I'm Anthony Lawn, or "The Paper Pilot". My passion is computer science, which you can see from my history of software engineering and game development stretching across desktop, web, and mobile applications. I'm currently attending the University of Texas at Dallas, working towards a B.S. in Computer Science. I'm Anthony Lawn, or "The Paper Pilot". My passion is computer science, which you can see from my history of software engineering and game development stretching across desktop, web, and mobile applications. I'm currently attending the University of Texas at Dallas, working towards a B.S. in Computer Science.
@ -10,47 +11,19 @@ I have experience with ActionScript, Bash script, CSS, HTML, Java, JavaScript, P
[Download my Resume](https://drive.google.com/uc?export=download&id=0B4xCmMA9eS2jZExWTGhtbS1nT0k) [Download my Resume](https://drive.google.com/uc?export=download&id=0B4xCmMA9eS2jZExWTGhtbS1nT0k)
**Projects** **Projects**
<div id="projects" style="overflow: hidden;"> <div id="projects" style="overflow: hidden;">
{% for project in site.projects %}
{% for page in site.pages %}
{% if page.short == project %}
<div class="thumb"> <div class="thumb">
<a href="/kiosk"> <a href="./{{ page.short }}">
<img src="./kiosk/thumb.png"> <img src="./{{ page.short }}/thumb.png">
<span class="thumbcaption"><p style="display: inline"> <span class="thumbcaption"><p style="display: inline">
Computer Science Kiosk {{ page.title }}
</p></span></a>
</div>
<div class="thumb">
<a href="/space">
<img src="./space/thumb.png">
<span class="thumbcaption"><p style="display: inline">
Space Game
</p></span></a>
</div>
<div class="thumb">
<a href="/ican">
<img src="./ican/thumb.png">
<span class="thumbcaption"><p style="display: inline">
iCan
</p></span></a>
</div>
<div class="thumb">
<a href="/strange">
<img src="./strange/thumb.png">
<span class="thumbcaption"><p style="display: inline">
12 is Strange
</p></span></a>
</div>
<div class="thumb">
<a href="/solar">
<img src="./solar/thumb.png">
<span class="thumbcaption"><p style="display: inline">
Solar TD
</p></span></a>
</div>
<div class="thumb">
<a href="/drawing">
<img src="./drawing/thumb.png">
<span class="thumbcaption"><p style="display: inline">
Digital Drawing
</p></span></a> </p></span></a>
</div> </div>
{% endif %}
{% endfor %}
{% endfor %}
</div> </div>

View file

@ -1,6 +1,7 @@
--- ---
layout: default layout: default
title: Computer Science Kiosk title: Computer Science Kiosk
short: kiosk
--- ---
# Computer Science Kiosk! # Computer Science Kiosk!

View file

@ -1,6 +1,7 @@
--- ---
layout: default layout: default
title: Solar TD title: Solar TD
short: solar
--- ---
# Solar TD! # Solar TD!

View file

@ -1,6 +1,7 @@
--- ---
layout: default layout: default
title: Space Game title: Space Game
short: space
--- ---
# Space Game! # Space Game!

View file

@ -1,6 +1,7 @@
--- ---
layout: default layout: default
title: 12 is Strange title: 12 is Strange
short: strange
--- ---
# 12 is Strange! # 12 is Strange!