This commit is contained in:
nuex
2011-09-22 11:28:24 -04:00
commit 5bec8d1abe
20 changed files with 679 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
all:
zod site www
+5
View File
@@ -0,0 +1,5 @@
# Blog
These are my blog posts
* 2011-04-02 [Hello](/blog/hello.html)
+1
View File
@@ -0,0 +1 @@
title: Blog
+3
View File
@@ -0,0 +1,3 @@
# Hi
This is my first blog post
+1
View File
@@ -0,0 +1 @@
title: hello
+1
View File
@@ -0,0 +1 @@
site_title: my site
+13
View File
@@ -0,0 +1,13 @@
{ helpers = "yes" }
function load_helpers() {
data["page_title"] = page_title()
}
function page_title( title) {
if (data["title"]) {
title = data["title"] " - "
}
title = title data["site_title"]
return title
}
+5
View File
@@ -0,0 +1,5 @@
## Introduction
Welcome to my website
Check out [my blog](/blog.html)
+1
View File
@@ -0,0 +1 @@
title: home
+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>{{page_title}}</title>
</head>
<body>
<header>
<h1><a href="/">{{site_title}}</a></h1>
</header>
<article>
{{{yield}}}
</article>
<footer>
<p>powered by static files</p>
</footer>
</body>
</html>
+4
View File
@@ -0,0 +1,4 @@
body {
background-color: #fff;
color: #000;
}
View File