From 78bbd405572cdfb8b74f288c9bb0af89daad47d4 Mon Sep 17 00:00:00 2001 From: Lazy Hippopotamus Date: Tue, 12 Mar 2024 12:42:29 -0400 Subject: [PATCH] update the site --- site/pages/usage.html | 10 ++++++++-- site/templates/default.html | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/site/pages/usage.html b/site/pages/usage.html index fd7e687..199c907 100644 --- a/site/pages/usage.html +++ b/site/pages/usage.html @@ -34,7 +34,7 @@ Requests can be, @@ -47,7 +47,13 @@ are \[@on minify], which enables minifier for the file, and \[@off minify], which disables minifier. Minifier simply reduces chains of whitespace to a single whitespace. In the future, \[@on markdown] and \[@off markdown] will allow Markdown-like processing across the file. - You can use Sitix commands in any file with a Sitix opening phrase; Sitix commands in files that do not have an opening phrase will be ignored.
+ You can use Sitix commands in any file with a Sitix opening phrase; Sitix commands in files that do not have an opening phrase will be ignored.

+ There are a number of "special objects" that resolve magically at different places. The most useful two are __after__ and __before__, + which crop up in for loops. They allow you to reference the object that came before or after, like \[^i.__after__]. __this__ is pretty much useless + except in very niche situations, because of the unclear rules behind it; I will document those on a later date. __file__ is always the root object of the current file, + - you can most likely guess why that's useful. + +
And that's it! To see how these are used creatively in the wild, check out the source code for this website.
diff --git a/site/templates/default.html b/site/templates/default.html index 1495225..124db69 100644 --- a/site/templates/default.html +++ b/site/templates/default.html @@ -45,7 +45,8 @@ GNU
The Free Software Foundation
The Avraham Society (first site to be officially generated with Sitix)
- The Not Art Gallery + The Not Art Gallery
+ Bacon Jam Tomato
Places in This Site