add test source files that did not get properly added before

This commit is contained in:
Tom Preston-Werner 2008-11-22 00:15:13 -08:00
parent bbead4dc0e
commit e63b9c0719
7 changed files with 132 additions and 1 deletions

@ -1 +0,0 @@
Subproject commit f165f91ca6079cd332e81fb298185ec073cf1e74

View File

@ -0,0 +1,27 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{{ page.title }}</title>
<meta name="author" content="<%= @page.author %>" />
<!-- CodeRay syntax highlighting CSS -->
<link rel="stylesheet" href="/css/coderay.css" type="text/css" />
<!-- Homepage CSS -->
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
</head>
<body>
<div class="site">
<div class="title">
Tom Preston-Werner
</div>
{{ content }}
</div>
</body>
</html>

View File

@ -0,0 +1 @@
<<< {{ content }} >>>

View File

@ -0,0 +1,8 @@
---
layout: default
title: Foo Bar
---
h1. {{ page.title }}
Best *post* ever

View File

@ -0,0 +1,8 @@
---
layout: default
title: Complex
---
url: {{ page.url }}
date: {{ page.date }}
id: {{ page.id }}

View File

@ -0,0 +1,76 @@
/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/
/* Global Reset */
* {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
body {
background-color: white;
font: 13.34px helvetica, arial, clean, sans-serif;
*font-size: small;
text-align: center;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
}
h1 {
margin-bottom: 1em;
}
p {
margin: 1em 0;
}
a {
color: #00a;
}
a:hover {
color: black;
}
a:visited {
color: #a0a;
}
table {
font-size: inherit;
font: 100%;
}
/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/
.site {
font-size: 110%;
text-align: justify;
width: 40em;
margin: 3em auto 2em auto;
line-height: 1.5em;
}
.title {
color: #a00;
font-weight: bold;
margin-bottom: 2em;
}
.site .meta {
color: #aaa;
}

12
test/source/index.html Normal file
View File

@ -0,0 +1,12 @@
---
layout: default
title: Tom Preston-Werner
---
h1. Welcome to my site
<ul>
{% for post in site.posts %}
<li>{{ post.date }} <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>