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:
input: GFM
permalink: /blog/:year/:month/:day/:title
projects: [kiosk, space, ican, strange, solar, drawing]

View file

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

View file

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

View file

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

View file

@ -1,6 +1,7 @@
---
layout: default
title: The Paper Pilot
name: Home
---
# 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.
@ -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)
**Projects**
<div id="projects" style="overflow: hidden;">
{% for project in site.projects %}
{% for page in site.pages %}
{% if page.short == project %}
<div class="thumb">
<a href="/kiosk">
<img src="./kiosk/thumb.png">
<a href="./{{ page.short }}">
<img src="./{{ page.short }}/thumb.png">
<span class="thumbcaption"><p style="display: inline">
Computer Science Kiosk
</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
{{ page.title }}
</p></span></a>
</div>
{% endif %}
{% endfor %}
{% endfor %}
</div>

View file

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

View file

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

View file

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

View file

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