update the site
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
Requests can be,
|
Requests can be,
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>config configName</code>: Check whether or not a command-line config switch is enabled (you can enable them with <code>-c configName</code>).</li>
|
<li><code>config configName</code>: Check whether or not a command-line config switch is enabled (you can enable them with <code>-c configName</code>).</li>
|
||||||
<li><code>equals variable1 variabl2</code>: Check whether two variables are the same (the check is flawed, but pretty good. See the relevant section in <code>main.cpp</code>
|
<li><code>equals variable1 variable2</code>: Check whether two variables are the same (the check is flawed, but pretty good. See the relevant section in <code>main.cpp</code>
|
||||||
for information on this.)</li>
|
for information on this.)</li>
|
||||||
<li><code>exists variable</code>: Check whether a variable exists. Good for simple boolean flags.</li>
|
<li><code>exists variable</code>: Check whether a variable exists. Good for simple boolean flags.</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -47,7 +47,13 @@
|
|||||||
are <code>\[@on minify]</code>, which enables minifier for the file, and <code>\[@off minify]</code>, which disables minifier. Minifier simply reduces chains of whitespace
|
are <code>\[@on minify]</code>, which enables minifier for the file, and <code>\[@off minify]</code>, which disables minifier. Minifier simply reduces chains of whitespace
|
||||||
to a single whitespace. In the future, <code>\[@on markdown]</code> and <code>\[@off markdown]</code> will allow Markdown-like processing across the file.</li>
|
to a single whitespace. In the future, <code>\[@on markdown]</code> and <code>\[@off markdown]</code> will allow Markdown-like processing across the file.</li>
|
||||||
</ul>
|
</ul>
|
||||||
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.<br>
|
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.<br><br>
|
||||||
|
There are a number of "special objects" that resolve magically at different places. The most useful two are <code>__after__</code> and <code>__before__</code>,
|
||||||
|
which crop up in for loops. They allow you to reference the object that came before or after, like <code>\[^i.__after__]</code>. __this__ is pretty much useless
|
||||||
|
except in <i>very</i> 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.
|
||||||
|
</div>
|
||||||
|
<div class="text">
|
||||||
And that's it! To see how these are used creatively in the wild, check out <a href="https://github.com/LinuxRocks2000/sitix-website">the source code for this website</a>.
|
And that's it! To see how these are used creatively in the wild, check out <a href="https://github.com/LinuxRocks2000/sitix-website">the source code for this website</a>.
|
||||||
</div>
|
</div>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
|
|||||||
@@ -45,7 +45,8 @@
|
|||||||
<a href="https://www.gnu.org/">GNU</a><br>
|
<a href="https://www.gnu.org/">GNU</a><br>
|
||||||
<a href="https://www.fsf.org/">The Free Software Foundation</a><br>
|
<a href="https://www.fsf.org/">The Free Software Foundation</a><br>
|
||||||
<a href="https://avrahamsociety.org/">The Avraham Society (first site to be officially generated with Sitix)</a><br>
|
<a href="https://avrahamsociety.org/">The Avraham Society (first site to be officially generated with Sitix)</a><br>
|
||||||
<a href="https://linuxrocks2000.github.io/not-art-gallery">The Not Art Gallery</a>
|
<a href="https://linuxrocks2000.github.io/not-art-gallery">The Not Art Gallery</a><br>
|
||||||
|
<a href="https://baconjamtomato.mooo.com">Bacon Jam Tomato</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<b>Places in This Site</b><br>
|
<b>Places in This Site</b><br>
|
||||||
|
|||||||
Reference in New Issue
Block a user