Skip to content

Commit 28bfc7f

Browse files
committed
about page
1 parent 603a09b commit 28bfc7f

File tree

5 files changed

+78
-4
lines changed

5 files changed

+78
-4
lines changed

Rakefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
task :default => :build
22

33
desc "Build my site, dammit!"
4-
task :build => [ :projects, :contact, :talks ]
4+
task :build => [ :projects, :contact, :talks, :about ]
55

66
def build(page)
77
yaml = YAML.load_file("pages/#{page}.yml")
@@ -10,6 +10,10 @@ def build(page)
1010
system "cat pages/#{page}.{yml,mustache} | mustache > #{page}.html"
1111
end
1212

13+
task :about do
14+
build :about
15+
end
16+
1317
task :projects do
1418
build :projects
1519
end
@@ -30,5 +34,5 @@ end
3034

3135
desc "Kick it!"
3236
task :kicker do
33-
exec "kicker --no-growl -e rake defunkt.css pages"
37+
exec "kicker --no-growl -e rake css/defunkt.css pages"
3438
end

about.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
<title> about chris wanstrath </title>
5+
<link href="/css/reset.css" rel="stylesheet" type="text/css" />
6+
<link href="/css/defunkt.css" rel="stylesheet" type="text/css" />
7+
<style>
8+
body { background:#fff; }
9+
p {
10+
margin-left: 200px;
11+
}
12+
</style>
13+
</head>
14+
15+
<body>
16+
<h1> chris w. </h1>
17+
18+
<p>cofounded <a href="http://github.com">GitHub</a>.</p>
19+
<p>used to work at <a href="http://en.wikipedia.org/wiki/CNET_Networks">CNET</a>.</p>
20+
<p>lives in <a href="http://www.flickr.com/search/?q=dolores+park">San Francisco, CA</a>.</p>
21+
<p>grew up in <a href="http://www.flickr.com/search/?q=cincinnati%20bengals">Cincinnati, OH</a>.</p>
22+
<p>loves <a href="http://en.wikipedia.org/wiki/A_Song_of_Ice_and_Fire">George R. R. Martin</a> books.</p>
23+
<p>plays <a href="">guitar</a>.</p>
24+
<p>can be emailed at <a href="mailto:chris@ozmm.org">chris@ozmm.org</a>.</p>
25+
<div class="back">
26+
<a href="/">
27+
&#8617;
28+
</a>
29+
</div>
30+
</body>
31+
</html>

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
</head>
4141
<body>
4242
<div class="links">
43+
<a href="about.html">about</a> |
4344
<a href="projects.html">projects</a> |
44-
<a href="talks.html">talks</a> |
45-
<a href="contact.html">contact</a>
45+
<a href="talks.html">talks</a>
4646
</div>
4747
</body>
4848
</html>

pages/about.mustache

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
<title> about chris wanstrath </title>
5+
<link href="/css/reset.css" rel="stylesheet" type="text/css" />
6+
<link href="/css/defunkt.css" rel="stylesheet" type="text/css" />
7+
<style>
8+
body { background:#fff; }
9+
p {
10+
margin-left: 200px;
11+
}
12+
</style>
13+
</head>
14+
15+
<body>
16+
<h1> chris w. </h1>
17+
18+
{{#about}}
19+
<p>{{{fact}}}</p>
20+
{{/about}}
21+
22+
<div class="back">
23+
<a href="/">
24+
&#8617;
25+
</a>
26+
</div>
27+
</body>
28+
</html>

pages/about.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
about:
3+
- fact: cofounded <a href="http://github.com">GitHub</a>.
4+
- fact: used to work at <a href="http://en.wikipedia.org/wiki/CNET_Networks">CNET</a>.
5+
- fact: lives in <a href="http://www.flickr.com/search/?q=dolores+park">San Francisco, CA</a>.
6+
- fact: grew up in <a href="http://www.flickr.com/search/?q=cincinnati%20bengals">Cincinnati, OH</a>.
7+
- fact: loves <a href="http://en.wikipedia.org/wiki/A_Song_of_Ice_and_Fire">George R. R. Martin</a> books.
8+
- fact: plays <a href="">guitar</a>.
9+
- fact: can be emailed at <a href="mailto:chris@ozmm.org">chris@ozmm.org</a>.
10+
width: 2048
11+
---

0 commit comments

Comments
 (0)