commit c982e1dc15751c411164cd712339157eae285b68 Author: trisua Date: Fri Mar 21 01:37:00 2025 -0400 Initial 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"