diff options
Diffstat (limited to 't/basic')
-rw-r--r-- | t/basic/index.html | 4 | ||||
-rw-r--r-- | t/basic/wrapper.tx | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/t/basic/index.html b/t/basic/index.html new file mode 100644 index 0000000..8518a6a --- /dev/null +++ b/t/basic/index.html @@ -0,0 +1,4 @@ +: cascade 'wrapper.tx' +: override content -> { +<h1>Hello world</h1> +: } diff --git a/t/basic/wrapper.tx b/t/basic/wrapper.tx new file mode 100644 index 0000000..5739c50 --- /dev/null +++ b/t/basic/wrapper.tx @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="/style.css" /> +</head> +<body> +: block content -> { } +</body> +</html> |