Browse Source

Add projects page

Thomas Dy 7 years ago
parent
commit
0be4ada93e

+ 41 - 0
content/pages/projects.md

@@ -0,0 +1,41 @@
++++
+title = "Projects"
+date = 2018-02-10T16:47:55+09:00
+tags = []
++++
+
+I've made a lot of things in my free time mostly to try out new web
+technologies. I've also made some non-web things as well, but those aren't as
+easy to show off.
+
+## Datalinks
+
+The [Datalinks](https://datalinks.pleasantprogrammer.com) is a recreation of the
+in-game manual of Sid Meier's Alpha Centauri. I really like the game,
+particularly how well the setting and atmosphere was done. The voice quotes
+whenever you discover a new technology were what really made the game for me and
+I've included those into the site. I also tried my very best to capture the
+original look and feel from the game using HTML and CSS.
+
+## Game n' Chat
+
+[Game n' Chat](https://gamenchat.pleasantprogrammer.com) is an online chatroom
+where you can play the Taboo board game. I got the chance to play at a party one
+time and I really enjoyed it. I also remembered having quite a bit of fun
+playing trivia and other games over IRC back in the day, so I decided to build
+something similar.
+
+## Audventure
+
+[Audventure](https://audventure.pleasantprogrammer.com) is a clone of the
+Gameboy Advance game, bit generations: Soundvoyager. The game really got my
+interest as the main mechanic involves navigating via sound. The original game
+was comprised of 5 different minigames, but I've only really implemented one of
+them.
+
+## GTFS.html
+
+[GTFS.html](https://gtfs.pleasantprogrammer.com) is a viewer for transit data in
+the GTFS format. I work a lot with GTFS for Sakay.ph and it helps quite a lot to
+be able to visualize the GTFS quickly instead of looking at the raw CSV files or
+actually loading it into the routing engine and testing manually.

+ 2 - 0
themes/pleasant/archetypes/default.md

@@ -1,3 +1,5 @@
 +++
+title = "{{ replace .Name "-" " " | title }}"
+date = {{ .Date }}
 tags = []
 +++

+ 1 - 1
themes/pleasant/layouts/index.html

@@ -2,7 +2,7 @@
 
 <main id="content" role="main">
 <div class="postindex">
-	{{ range .Paginator.Pages }}
+	{{ range where .Paginator.Pages "Type" "posts" }}
 	<article class="h-entry post-text" itemscope itemtype="http://schema.org/Blog">
 		<header>
 			<h1 class="p-name entry-title" itemprop="headline">

+ 13 - 0
themes/pleasant/layouts/pages/single.html

@@ -0,0 +1,13 @@
+{{ partial "header.html" . }}
+
+<main id="content" role="main">
+<article itemscope itemtype="http://schema.org/BlogPosting">
+	<h1 class="p-name entry-title" itemprop="headline name">
+		<a href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
+	<div class="e-content entry-content" itemprop="entry-text">
+		{{ .Content }}
+	</div>
+</article>
+</main>
+
+{{ partial "footer.html" . }}

+ 1 - 0
themes/pleasant/layouts/partials/header.html

@@ -23,6 +23,7 @@
 				<li class="twitter">
 					<a href="http://twitter.com/pleasantprog">@pleasantprog</a>
 				</li>
+				<li><a href="/pages/projects.html">projects</a></li>
 				<li><a href="/posts.html">archives</a></li>
 				<li><a href="/tags.html">tags</a></li>
 				<li><a href="/rss.xml">rss</a></li>