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:
James Mills 2023-03-12 03:44:17 +00:00
parent 70fb47d6ee
commit 0f4623afae
19 changed files with 3 additions and 121 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -1 +0,0 @@
html{margin:0;padding:0;box-sizing:border-box;}body{font-size:16pt;}

View File

@ -1,6 +0,0 @@
html
head
title #{title}
link[href="styles.css"][rel="stylesheet"][type="text/css"]
body
#{unescaped(content)}

View File

@ -1,7 +0,0 @@
title: About myself
date: 28-08-2015
---
# {{title}}
Hi all. This is a brief description of who I am.

View File

@ -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

View File

@ -1,8 +0,0 @@
title: First post
date: 28-08-2015
---
# {{title}}
This is my first post

View File

@ -1,8 +0,0 @@
title: Second post
date: 29-08-2015
---
# {{title}}
This is my second post

View File

@ -1,7 +0,0 @@
html
margin: 0
padding: 0
box-sizing: border-box
body
font-size: 16pt

View File

@ -1,5 +0,0 @@
<html>
<body>
<h1>Hello</h1>
</body>
</html>

View File

@ -1,5 +0,0 @@
<html>
<body>
<h1>{{ printf Hello }}</h1>
</body>
</html>

0
testdata/simple/.test/index.html vendored Normal file
View File

3
testdata/simple/index.md vendored Normal file
View File

@ -0,0 +1,3 @@
# Simple
Simple page

View File

@ -1,5 +0,0 @@
<html>
<body>
<p>Hello world</p>
</body>
</html>

View File

@ -1 +0,0 @@
body{font:100% Helvetica, sans-serif;color:blue;}

View File

@ -1,3 +0,0 @@
html
body
p Hello world

View File

@ -1,6 +0,0 @@
$base-font: Helvetica, sans-serif
$main-color: blue
body
font: 100% $base-font
color: $main-color