mirror of
https://git.mills.io/prologic/zs
synced 2024-11-28 16:26:11 +03:00
Fix tests (#7)
Fixes #6 Co-authored-by: James Mills <1290234+prologic@users.noreply.github.com> Reviewed-on: https://git.mills.io/prologic/zs/pulls/7
This commit is contained in:
parent
70fb47d6ee
commit
0f4623afae
10
testdata/blog/.test/about.html
vendored
10
testdata/blog/.test/about.html
vendored
@ -1,10 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>About myself</title>
|
||||
<link href="styles.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body><h1>About myself</h1>
|
||||
|
||||
<p>Hi all. This is a brief description of who I am.</p>
|
||||
</body>
|
||||
</html>
|
17
testdata/blog/.test/index.html
vendored
17
testdata/blog/.test/index.html
vendored
@ -1,17 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>My blog</title>
|
||||
<link href="styles.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<p>Here goes list of posts</p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/posts/hello.html">First post</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/posts/update.html">Second post</a>
|
||||
</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
10
testdata/blog/.test/posts/hello.html
vendored
10
testdata/blog/.test/posts/hello.html
vendored
@ -1,10 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>First post</title>
|
||||
<link href="styles.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body><h1>First post</h1>
|
||||
|
||||
<p>This is my first post</p>
|
||||
</body>
|
||||
</html>
|
10
testdata/blog/.test/posts/update.html
vendored
10
testdata/blog/.test/posts/update.html
vendored
@ -1,10 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Second post</title>
|
||||
<link href="styles.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body><h1>Second post</h1>
|
||||
|
||||
<p>This is my second post</p>
|
||||
</body>
|
||||
</html>
|
1
testdata/blog/.test/styles.css
vendored
1
testdata/blog/.test/styles.css
vendored
@ -1 +0,0 @@
|
||||
html{margin:0;padding:0;box-sizing:border-box;}body{font-size:16pt;}
|
6
testdata/blog/.zs/layout.amber
vendored
6
testdata/blog/.zs/layout.amber
vendored
@ -1,6 +0,0 @@
|
||||
html
|
||||
head
|
||||
title #{title}
|
||||
link[href="styles.css"][rel="stylesheet"][type="text/css"]
|
||||
body
|
||||
#{unescaped(content)}
|
7
testdata/blog/about.md
vendored
7
testdata/blog/about.md
vendored
@ -1,7 +0,0 @@
|
||||
title: About myself
|
||||
date: 28-08-2015
|
||||
---
|
||||
|
||||
# {{title}}
|
||||
|
||||
Hi all. This is a brief description of who I am.
|
12
testdata/blog/index.amber
vendored
12
testdata/blog/index.amber
vendored
@ -1,12 +0,0 @@
|
||||
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
|
||||
|
8
testdata/blog/posts/hello.md
vendored
8
testdata/blog/posts/hello.md
vendored
@ -1,8 +0,0 @@
|
||||
title: First post
|
||||
date: 28-08-2015
|
||||
---
|
||||
|
||||
# {{title}}
|
||||
|
||||
This is my first post
|
||||
|
8
testdata/blog/posts/update.md
vendored
8
testdata/blog/posts/update.md
vendored
@ -1,8 +0,0 @@
|
||||
title: Second post
|
||||
date: 29-08-2015
|
||||
---
|
||||
|
||||
# {{title}}
|
||||
|
||||
This is my second post
|
||||
|
7
testdata/blog/styles.gcss
vendored
7
testdata/blog/styles.gcss
vendored
@ -1,7 +0,0 @@
|
||||
html
|
||||
margin: 0
|
||||
padding: 0
|
||||
box-sizing: border-box
|
||||
|
||||
body
|
||||
font-size: 16pt
|
5
testdata/page/.test/index.html
vendored
5
testdata/page/.test/index.html
vendored
@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>Hello</h1>
|
||||
</body>
|
||||
</html>
|
5
testdata/page/index.html
vendored
5
testdata/page/index.html
vendored
@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>{{ printf Hello }}</h1>
|
||||
</body>
|
||||
</html>
|
0
testdata/simple/.test/index.html
vendored
Normal file
0
testdata/simple/.test/index.html
vendored
Normal file
3
testdata/simple/index.md
vendored
Normal file
3
testdata/simple/index.md
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Simple
|
||||
|
||||
Simple page
|
5
testdata/sugar/.test/index.html
vendored
5
testdata/sugar/.test/index.html
vendored
@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<p>Hello world</p>
|
||||
</body>
|
||||
</html>
|
1
testdata/sugar/.test/styles.css
vendored
1
testdata/sugar/.test/styles.css
vendored
@ -1 +0,0 @@
|
||||
body{font:100% Helvetica, sans-serif;color:blue;}
|
3
testdata/sugar/index.amber
vendored
3
testdata/sugar/index.amber
vendored
@ -1,3 +0,0 @@
|
||||
html
|
||||
body
|
||||
p Hello world
|
6
testdata/sugar/styles.gcss
vendored
6
testdata/sugar/styles.gcss
vendored
@ -1,6 +0,0 @@
|
||||
$base-font: Helvetica, sans-serif
|
||||
$main-color: blue
|
||||
|
||||
body
|
||||
font: 100% $base-font
|
||||
color: $main-color
|
Loading…
Reference in New Issue
Block a user