From c982e1dc15751c411164cd712339157eae285b68 Mon Sep 17 00:00:00 2001 From: trisua Date: Fri, 21 Mar 2025 01:37:00 -0400 Subject: [PATCH] Initial --- example/.gitignore | 3 +++ example/html/index.html | 38 ++++++++++++++++++++++++++++++++++++++ example/tetratto.toml | 10 ++++++++++ 3 files changed, 51 insertions(+) create mode 100644 example/.gitignore create mode 100644 example/html/index.html create mode 100644 example/tetratto.toml diff --git a/example/.gitignore b/example/.gitignore new file mode 100644 index 0000000..a788228 --- /dev/null +++ b/example/.gitignore @@ -0,0 +1,3 @@ +atto.db +html/_atto/ +public/_atto/ diff --git a/example/html/index.html b/example/html/index.html new file mode 100644 index 0000000..bd48e48 --- /dev/null +++ b/example/html/index.html @@ -0,0 +1,38 @@ +{% extends "_atto/root.html" %} {% block body %} + + +
+

Hello, world!

+ +
+ A + B + C +
+ +
+
+ + + +
+ + +
+
+{% endblock %} diff --git a/example/tetratto.toml b/example/tetratto.toml new file mode 100644 index 0000000..3165272 --- /dev/null +++ b/example/tetratto.toml @@ -0,0 +1,10 @@ +name = "Tetratto" +port = 4118 + +[security] +registration_enabled = true +admin_user = "admin" + +[dirs] +templates = "html" +assets = "public"