summaryrefslogtreecommitdiff
path: root/examples/main.htmlua
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-07-17 19:54:15 -0600
committerGrace Yoder <grace_yoder@outlook.com>2026-07-17 20:08:24 -0600
commit55a1697e7175c4c82989c0633ef2227fb0295b8e (patch)
treee3592665ca7f051849debe716a2cfc2f2592110b /examples/main.htmlua
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>