summaryrefslogtreecommitdiff
path: root/examples/main.htmlua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/main.htmlua')
-rwxr-xr-xexamples/main.htmlua21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/main.htmlua b/examples/main.htmlua
new file mode 100755
index 0000000..d7827c2
--- /dev/null
+++ b/examples/main.htmlua
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <title>main</title>
+</head>
+
+<body>
+ <h1>hello</h1>
+ <include path="a.htmlua">
+ <export part=first>
+ <p><b>exported from main!</b></p>
+ </export>
+ <export part=second>
+ <p><b>exported from main but again!</b></p>
+ </export>
+ </include>
+
+</body>
+
+</html>