diff --git a/testdata/blog/.test/about.html b/testdata/blog/.test/about.html new file mode 100644 index 0000000..2ad8b67 --- /dev/null +++ b/testdata/blog/.test/about.html @@ -0,0 +1,10 @@ + +
+Hi all. This is a brief description of who I am.
+ + diff --git a/testdata/blog/.test/index.html b/testdata/blog/.test/index.html new file mode 100644 index 0000000..30af02e --- /dev/null +++ b/testdata/blog/.test/index.html @@ -0,0 +1,17 @@ + + +Here goes list of posts
+This is my first post
+ + diff --git a/testdata/blog/.test/posts/update.html b/testdata/blog/.test/posts/update.html new file mode 100644 index 0000000..58ff440 --- /dev/null +++ b/testdata/blog/.test/posts/update.html @@ -0,0 +1,10 @@ + + +This is my second post
+ + diff --git a/testdata/blog/.test/styles.css b/testdata/blog/.test/styles.css new file mode 100644 index 0000000..25d5b6f --- /dev/null +++ b/testdata/blog/.test/styles.css @@ -0,0 +1 @@ +html{margin:0;padding:0;box-sizing:border-box;}body{font-size:16pt;} \ No newline at end of file diff --git a/testdata/blog/.zs/layout.amber b/testdata/blog/.zs/layout.amber new file mode 100644 index 0000000..5877c65 --- /dev/null +++ b/testdata/blog/.zs/layout.amber @@ -0,0 +1,6 @@ +html + head + title #{title} + link[href="styles.css"][rel="stylesheet"][type="text/css"] + body + #{unescaped(content)} diff --git a/testdata/blog/about.md b/testdata/blog/about.md new file mode 100644 index 0000000..93c2a0d --- /dev/null +++ b/testdata/blog/about.md @@ -0,0 +1,6 @@ +title: About myself +date: 28-08-2015 + +# {{title}} + +Hi all. This is a brief description of who I am. diff --git a/testdata/blog/index.amber b/testdata/blog/index.amber new file mode 100644 index 0000000..ab0f0dd --- /dev/null +++ b/testdata/blog/index.amber @@ -0,0 +1,12 @@ +html + head + title My blog + link[href="styles.css"][rel="stylesheet"][type="text/css"] + body + p Here goes list of posts + ul + li + a[href="/posts/hello.html"] First post + li + a[href="/posts/update.html"] Second post + diff --git a/testdata/blog/posts/hello.md b/testdata/blog/posts/hello.md new file mode 100644 index 0000000..99bfa38 --- /dev/null +++ b/testdata/blog/posts/hello.md @@ -0,0 +1,7 @@ +title: First post +date: 28-08-2015 + +# {{title}} + +This is my first post + diff --git a/testdata/blog/posts/update.md b/testdata/blog/posts/update.md new file mode 100644 index 0000000..58b25ea --- /dev/null +++ b/testdata/blog/posts/update.md @@ -0,0 +1,7 @@ +title: Second post +date: 29-08-2015 + +# {{title}} + +This is my second post + diff --git a/testdata/blog/styles.gcss b/testdata/blog/styles.gcss new file mode 100644 index 0000000..5082b95 --- /dev/null +++ b/testdata/blog/styles.gcss @@ -0,0 +1,7 @@ +html + margin: 0 + padding: 0 + box-sizing: border-box + +body + font-size: 16pt