diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d395946 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +output +output/* \ No newline at end of file diff --git a/output/index.html b/output/index.html deleted file mode 100644 index 38d913a..0000000 --- a/output/index.html +++ /dev/null @@ -1,16 +0,0 @@ - Sitix | Main
- - - - -
Imagine an SSG
that's FAST
that's project agnostic
that Keeps It Simple, Stupid
that Just Makes Sense
that makes no assumptions

Sitix

Sitix is a modern SSG (Static Site Generator) that allows you total control over how your project is assembled, without sacrificing ease. It uses an object/scope model with efficient file includes, conditional branching, looping, and command-line configuration to make stunning websites without the mess.
-
-
Template all the things. Any Sitix file can be a template; the [?] opening phrase indicates that (for whatever reason) the file shouldn't be rendered normally, but still may be included in other files - for configuration, templating, or even modular elements!
- -
- -
-
Sitix is a universal preprocessor. HTML? Of course. CSS? Yep! JavaScript? Certainly! Sitix will template anything, whether it be a nice simple HTML file or a hand-edited GIF from 1998. Say goodbye to annoying configuration discrepancies between CSS and HTML and JavaScript - just throw your shared variables in a config.stx file and let Sitix do the rest!
- -
-
No more restrictive project structures, irritating configuration files, or magic. Goodbye Ruby, "blog-awareness", difficult configuration, and bulky outputs. Sayonara obtuse frameworks, inefficient CSR, and annoying build pipelines. Sitix renders what you want, when you want it, and doesn't ask questions.
Like what you see? install Sitix and start building modern websites now!
Sitix by Tyler Clarke
Shameless Plugs
Tyler Clarke's personal site
Tyler Clarke's (old) webcomic/blog/personal site
Fedora Linux
GNU
The Free Software Foundation
The Avraham Society (first site to be officially generated with Sitix)
The Not Art Gallery
Places in This Site
Home
About
Install Sitix
Todo
Noteboard
Usage
Information
Sitix (including this website) is open-source Free Software protected by GNU GPLv3. Looking to contribute? The source code for this website is hosted on Github, as is Sitix itself.
Sitix is still young and probably buggy; if you have issues, submit a bug report at the issues page or contact me at plupy44@gmail.com (github issue preferred).
If you want to contribute, but don't know where to start, see The Todo List.
Site designed by Tyler Clarke and built with Sitix. This page uses the Lato fonts.
\ No newline at end of file diff --git a/output/pages/about.html b/output/pages/about.html deleted file mode 100644 index 22ae497..0000000 --- a/output/pages/about.html +++ /dev/null @@ -1 +0,0 @@ - Sitix | About

About

Sitix began in Summer '23 when I got fed up with the quirks of Jekyll and decided to build my own templating engine. I put together a schematic not unlike modern Sitix and began implementing it in Rust (which I had just learned), but I quickly realized that my pattern was simply not going to work for such a complex design, and so after a lot of fruitless debugging and such I eventually stopped developing it. It's probably still up here.
In November '24 I was working on a client's website and, once again, got fed up with Jekyll. I remembered the Sitix project I'd begun in 2023 and tried to implement it - but failed spectacularly. Sitix was a shipwreck. So, through early March, I reimplemented: I moved to C++, a much more familiar language; changed the structure to be just quirky enough to satisfy me while still robust and usable, and quickly got Sitix behind several websites.

Sitix is designed to replace everything I like about Jekyll (Liquid. It's just Liquid. I hate literally everything else), while also providing a saner interface, and being much easier to compile and install (farewell, Gem Hell). I also incorporated concepts from JavaScript (especially JSON); parts of the object model are obviously inspired by JavaScript, and the tree-like structure of a Sitix file is heavily remnant of JSON. I also added a little of my own "charm"; evident in the scope system (which is even less sane than JavaScript's) and the not-quite-XML tag structure.

Sitix is a very young project, and I'm still working out the bugs and adding crucial features. The stuff I'm working on is usually going to be near the top of the TODO list.

Sitix is protected by GNU GPLv3. Please put a little "built with Sitix by Tyler Clarke" with a link to this website somewhere on every Sitix-generated page you make (Sitix can make this easy with templates :D), if you choose to use Sitix.
Sitix by Tyler Clarke
Shameless Plugs
Tyler Clarke's personal site
Tyler Clarke's (old) webcomic/blog/personal site
Fedora Linux
GNU
The Free Software Foundation
The Avraham Society (first site to be officially generated with Sitix)
The Not Art Gallery
Places in This Site
Home
About
Install Sitix
Todo
Noteboard
Usage
Information
Sitix (including this website) is open-source Free Software protected by GNU GPLv3. Looking to contribute? The source code for this website is hosted on Github, as is Sitix itself.
Sitix is still young and probably buggy; if you have issues, submit a bug report at the issues page or contact me at plupy44@gmail.com (github issue preferred).
If you want to contribute, but don't know where to start, see The Todo List.
Site designed by Tyler Clarke and built with Sitix. This page uses the Lato fonts.
\ No newline at end of file diff --git a/output/pages/install.html b/output/pages/install.html deleted file mode 100644 index ac4f8f6..0000000 --- a/output/pages/install.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Sitix | Install Sitix

Install Sitix

-
- Sitix is written in C++ without any frameworks or anything. It doesn't muck about with Node.JS or Ruby or any such stuff. This means native-level performance, - but requires compilation and testing on many platforms. It's guaranteed to work on Fedora Linux and probably works in most other Linuxes; - MacOS is a possibility. Windows, being too stone-age for POSIX, probably won't be able to run Sitix.

- At the moment, Sitix has no prebuilt binaries; I hope to include RPM/DEB packages in the next release.
To install it, you'll need to clone - the Github repository, run ./build.sh, and (assuming the build completes successfully) - copy the generated sitix binary to some PATH-accessible location (/usr/bin is a good bet). Sitix requires a C++20-compatible - G++ (usually included with the gcc package); it has no other dependencies. Sitix is theoretically cross-compilable to Windows, but I have no intention of ever officially supporting it; - Microsoft doesn't deserve it. -
-
- Once you've got Sitix installed, see Usage. -
-
Sitix by Tyler Clarke
Shameless Plugs
Tyler Clarke's personal site
Tyler Clarke's (old) webcomic/blog/personal site
Fedora Linux
GNU
The Free Software Foundation
The Avraham Society (first site to be officially generated with Sitix)
The Not Art Gallery
Places in This Site
Home
About
Install Sitix
Todo
Noteboard
Usage
Information
Sitix (including this website) is open-source Free Software protected by GNU GPLv3. Looking to contribute? The source code for this website is hosted on Github, as is Sitix itself.
Sitix is still young and probably buggy; if you have issues, submit a bug report at the issues page or contact me at plupy44@gmail.com (github issue preferred).
If you want to contribute, but don't know where to start, see The Todo List.
Site designed by Tyler Clarke and built with Sitix. This page uses the Lato fonts.
\ No newline at end of file diff --git a/output/pages/noteboard.html b/output/pages/noteboard.html deleted file mode 100644 index 9b073e7..0000000 --- a/output/pages/noteboard.html +++ /dev/null @@ -1 +0,0 @@ - Sitix | Noteboard

Noteboard

This is where I'll post miscellaneous notes on Sitix stuff. If you're using Sitix (or just interested in the project), you should check back here periodically for information on new releases, design considerations, known bugs, etc. You can think of it as a miniblog.
2024-3-10: Now the project-object model is a LOT better. When a lookup fails for something that is also a valid filename, that file is loaded as an object (so subsequent lookups will find it). This means it's possible to replicate the behavior of [#file] with [^file], although because of child-access you need to escape the filename (like [^directory/file\.html]). The latter also allows accessing objects inside a file without rendering that file. The old include syntax now just sets up a dereference and escapes the name for you.
Memory management is a pain. The reasons are complex, but it's mostly because of what I call the "crap-copy"; if you're interested, look for that phrase in the code comments. I added some frees and deletes but Valgrind tells me it's still leaking quite a bit, especially when for loops are used.

2024-3-9: The stupid "Something has gone terribly wrong" warning is NOT important; you can safely ignore it. It's just debugging information pour moi.
Sitix by Tyler Clarke
Shameless Plugs
Tyler Clarke's personal site
Tyler Clarke's (old) webcomic/blog/personal site
Fedora Linux
GNU
The Free Software Foundation
The Avraham Society (first site to be officially generated with Sitix)
The Not Art Gallery
Places in This Site
Home
About
Install Sitix
Todo
Noteboard
Usage
Information
Sitix (including this website) is open-source Free Software protected by GNU GPLv3. Looking to contribute? The source code for this website is hosted on Github, as is Sitix itself.
Sitix is still young and probably buggy; if you have issues, submit a bug report at the issues page or contact me at plupy44@gmail.com (github issue preferred).
If you want to contribute, but don't know where to start, see The Todo List.
Site designed by Tyler Clarke and built with Sitix. This page uses the Lato fonts.
\ No newline at end of file diff --git a/output/pages/todo.html b/output/pages/todo.html deleted file mode 100644 index fc179ee..0000000 --- a/output/pages/todo.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Sitix | Todo

Todo

-
- Sitix is still a pretty young piece of software, so if there's a missing feature that isn't on this list, don't hesitate to submit a feature request on the issues page. - Alternatively, you could just write it yourself! This TODO list is mostly for my memory, but I would love codebase contributions to get some things crossed off. -
-
- -
-
Sitix by Tyler Clarke
Shameless Plugs
Tyler Clarke's personal site
Tyler Clarke's (old) webcomic/blog/personal site
Fedora Linux
GNU
The Free Software Foundation
The Avraham Society (first site to be officially generated with Sitix)
The Not Art Gallery
Places in This Site
Home
About
Install Sitix
Todo
Noteboard
Usage
Information
Sitix (including this website) is open-source Free Software protected by GNU GPLv3. Looking to contribute? The source code for this website is hosted on Github, as is Sitix itself.
Sitix is still young and probably buggy; if you have issues, submit a bug report at the issues page or contact me at plupy44@gmail.com (github issue preferred).
If you want to contribute, but don't know where to start, see The Todo List.
Site designed by Tyler Clarke and built with Sitix. This page uses the Lato fonts.
\ No newline at end of file diff --git a/output/pages/usage.html b/output/pages/usage.html deleted file mode 100644 index bb0d6cf..0000000 --- a/output/pages/usage.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Sitix | Usage

Usage

-
- Sitix is a KISS program, so there's not a lot of setup. Once you've got it installed (see for information on that), - you need a project to build. The simplest Sitix project structure is just a site folder, which contains the actual Sitix "scripts". When - (you absolutely must be outside of the site directory to do this!) you run sitix site, Sitix will delete the output directory - and all contents, if it exists, and then create a new output directory for the compiled site code. Then, Sitix will walk down the tree of - your site directory, creating appropriate subdirectories and directly copying over any file that doesn't have an opening phrase - [!], - for a Sitix page, or [?] for a data page (which will not be rendered itself, but may be used for templating or configuration). The opening phrase - MUST be the first three bytes of the file; if there are any whitespaces before it, the file will be treated as plain data. If you want - it to render to a different directory, pass the -o location flag. -
-
- WARNING: -o is very dangerous! If you tell Sitix to render to a directory with important information in it, that directory is as good as gone. - At the moment Sitix does not put any effort into questioning your choices, so make sure to double-check everything is okay before running any sitix command! Avoiding - -o unless you really need it is generally a good policy. -
-
- Let's cover some syntax. All Sitix commands are enclosed in brackets like [command] (you can escape brackets with backslashes). There aren't very many - Sitix commands; at the moment, it's just: - - 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.
- And that's it! To see how these are used creatively in the wild, check out the source code for this website. -
-
- For a more thorough look at Sitix, check out the source code. There's a rather large comment at the start of - main.cpp that provides a deep look at Sitix syntax and usage. -
-
Sitix by Tyler Clarke
Shameless Plugs
Tyler Clarke's personal site
Tyler Clarke's (old) webcomic/blog/personal site
Fedora Linux
GNU
The Free Software Foundation
The Avraham Society (first site to be officially generated with Sitix)
The Not Art Gallery
Places in This Site
Home
About
Install Sitix
Todo
Noteboard
Usage
Information
Sitix (including this website) is open-source Free Software protected by GNU GPLv3. Looking to contribute? The source code for this website is hosted on Github, as is Sitix itself.
Sitix is still young and probably buggy; if you have issues, submit a bug report at the issues page or contact me at plupy44@gmail.com (github issue preferred).
If you want to contribute, but don't know where to start, see The Todo List.
Site designed by Tyler Clarke and built with Sitix. This page uses the Lato fonts.
\ No newline at end of file diff --git a/output/res/default.html.png b/output/res/default.html.png deleted file mode 100644 index cc2b6fa..0000000 Binary files a/output/res/default.html.png and /dev/null differ diff --git a/output/res/forloop-example.png b/output/res/forloop-example.png deleted file mode 100644 index 3d93a54..0000000 Binary files a/output/res/forloop-example.png and /dev/null differ diff --git a/output/res/lato.css.png b/output/res/lato.css.png deleted file mode 100644 index 07b124b..0000000 Binary files a/output/res/lato.css.png and /dev/null differ diff --git a/output/res/lato/Lato-Black.ttf b/output/res/lato/Lato-Black.ttf deleted file mode 100644 index 6848db0..0000000 Binary files a/output/res/lato/Lato-Black.ttf and /dev/null differ diff --git a/output/res/lato/Lato-BlackItalic.ttf b/output/res/lato/Lato-BlackItalic.ttf deleted file mode 100644 index 5decf12..0000000 Binary files a/output/res/lato/Lato-BlackItalic.ttf and /dev/null differ diff --git a/output/res/lato/Lato-Bold.ttf b/output/res/lato/Lato-Bold.ttf deleted file mode 100644 index 7434369..0000000 Binary files a/output/res/lato/Lato-Bold.ttf and /dev/null differ diff --git a/output/res/lato/Lato-BoldItalic.ttf b/output/res/lato/Lato-BoldItalic.ttf deleted file mode 100644 index 684aacf..0000000 Binary files a/output/res/lato/Lato-BoldItalic.ttf and /dev/null differ diff --git a/output/res/lato/Lato-Hairline.ttf b/output/res/lato/Lato-Hairline.ttf deleted file mode 100644 index 288be29..0000000 Binary files a/output/res/lato/Lato-Hairline.ttf and /dev/null differ diff --git a/output/res/lato/Lato-HairlineItalic.ttf b/output/res/lato/Lato-HairlineItalic.ttf deleted file mode 100644 index c2bfd33..0000000 Binary files a/output/res/lato/Lato-HairlineItalic.ttf and /dev/null differ diff --git a/output/res/lato/Lato-Italic.ttf b/output/res/lato/Lato-Italic.ttf deleted file mode 100644 index 3d3b7a2..0000000 Binary files a/output/res/lato/Lato-Italic.ttf and /dev/null differ diff --git a/output/res/lato/Lato-Light.ttf b/output/res/lato/Lato-Light.ttf deleted file mode 100644 index a958067..0000000 Binary files a/output/res/lato/Lato-Light.ttf and /dev/null differ diff --git a/output/res/lato/Lato-LightItalic.ttf b/output/res/lato/Lato-LightItalic.ttf deleted file mode 100644 index 5e45ad9..0000000 Binary files a/output/res/lato/Lato-LightItalic.ttf and /dev/null differ diff --git a/output/res/lato/Lato-Regular.ttf b/output/res/lato/Lato-Regular.ttf deleted file mode 100644 index 04ea8ef..0000000 Binary files a/output/res/lato/Lato-Regular.ttf and /dev/null differ diff --git a/output/res/lato/OFL.txt b/output/res/lato/OFL.txt deleted file mode 100644 index 58d1de5..0000000 --- a/output/res/lato/OFL.txt +++ /dev/null @@ -1,92 +0,0 @@ -Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic with Reserved Font Name "Lato". -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/output/res/lato/lato.css b/output/res/lato/lato.css deleted file mode 100644 index ea2309e..0000000 --- a/output/res/lato/lato.css +++ /dev/null @@ -1 +0,0 @@ -/* Sitix script for the Lato font-face declarations. My editor shows numerous syntax errors; this is because it does not support Sitix scripting. */ @font-face { font-family: Lato; src: url("http://localhost:8080/res/lato/Lato-Bold.ttf"); font-weight: bold; font-style: normal; } @font-face { font-family: Lato; src: url("http://localhost:8080/res/lato/Lato-BoldItalic.ttf"); font-weight: bold; font-style: italic; } @font-face { font-family: Lato; src: url("http://localhost:8080/res/lato/Lato-Italic.ttf"); font-weight: normal; font-style: italic; } @font-face { font-family: Lato; src: url("http://localhost:8080/res/lato/Lato-Regular.ttf"); font-weight: normal; font-style: normal; } \ No newline at end of file diff --git a/output/res/lato/lato.zip b/output/res/lato/lato.zip deleted file mode 100644 index 4f1ec90..0000000 Binary files a/output/res/lato/lato.zip and /dev/null differ diff --git a/output/res/main.css b/output/res/main.css deleted file mode 100644 index ca0d404..0000000 --- a/output/res/main.css +++ /dev/null @@ -1 +0,0 @@ -*:not(ul), body, html { margin: 0px; padding: 0px; font-family: Lato, Arial, Helvetica, sans-serif; } img { max-width: 100%; max-height: 100%; } #nav { position: sticky; top: 0px; box-shadow: 0px 0px 5px black; padding: 3px; background-color: white; z-index: 2; } #nav > div { padding-top: 0px; padding-bottom: 0px; transition: padding 0.5s; text-align: center; } #nav > div > a { margin-left: 20px; margin-right: 20px; } #nav > a { top: 0px; position: absolute; height: 100%; } #nav:hover > div { padding-top: 10px; padding-bottom: 10px; } div.text { padding-top: 50px; padding-bottom: 50px; padding-left: 15vw; padding-right: 15vw; line-height: 2em; } #bottom { box-shadow: 0px 0px 5px black; padding: 50px; margin-top: 50px; } #bottom > div:first-child { grid-area: top; text-align: center; } #bottom > div:first-child > a { height: 2em; margin-left: auto; margin-right: 0px; display: inline-block; width: 2em; transform: translateY(0.5em); } #bottom > div:first-child > a > img { height: 100%; } #bottom > div:first-child > * { margin-bottom: 20px; margin-top: 20px; } a { text-decoration: none; color: #666666; } a:hover { color: #999999; } body { min-height: 100vh; display: flex; flex-direction: column; } #bottom { margin-top: auto; } .text.scrolly { transform: translateX(-200px); opacity: 0%; transition: transform 0.5s, opacity 0.5s; } .text.scrolly.scrolly-entered { opacity: 100%; transform: none; } #toppybit { display: flex; flex-direction: row; padding: 10%; box-sizing: border-box; } .huge { font-size: 6em; } span.big { font-size: 4em; } #imagine { position: sticky; top: 50vh; transform: translateY(-50%); display: inline-block; } #switchybit > div > span { display: inline-block; background-color: #000044; padding: 10px; font-family: monospace; color: white; position: sticky; top: 50vh; transform: translateY(-50%); margin-left: 10vw; } #switchybit > div { height: 100vh; opacity: 0%; transition: opacity 0.1s; } #switchybit > div.scrolly-center { opacity: 100%; } i.highlight { color: red; font-size: 3rem; text-shadow: 0px 0px 2px red, 0px 0px 4px blue; } #actualbottom { background-color: black; text-align: center; color: white; font-size: 0.7em; padding: 5px; } h1, h2, h3, h4, h5, h6 { text-align: center; } h1 { font-size: 6em; text-align: right; padding-right: 10vw; } h2 { font-size: 3em; } div.toptext { padding-left: 35vw; padding-right: 15vw; font-size: 1.3em; } .textimage { display: flex; padding-left: 10vw; padding-right: 10vw; align-items: center; } .textimage > .textimage-text { flex: 2; padding: 100px; font-size: 1.2em; line-height: 2em; } .textimage:nth-child(2n + 1) { flex-direction: row-reverse; } .textimage.scrolly:nth-child(2n + 1) { transform: translateX(100vw); } .textimage.scrolly { width: 0px; overflow: hidden; transition: width 2s, transform 2s, padding 2s; box-sizing: border-box; padding: 0px; } .textimage.scrolly.scrolly-entered { width: 100vw; transform: none; padding-left: 10vw; padding-right: 10vw; } .plug { text-align: center; font-size: 3em; } code { background-color: #000044; color: white; font-family: monospace; } .note { margin-left: 30vw; margin-right: 30vw; margin-top: 50px; margin-bottom: 50px; background-color: orange; padding: 20px; box-sizing: border-box; border-radius: 20px; min-height: 180px; font-size: 1.2em; } .note::before { content: ""; background-image: url("http://localhost:8080/res/warning.svg"); background-size: contain; width: 100px; height: 100px; display: block; background-position: center; background-repeat: no-repeat; margin: 20px; float: left; } #bottomFlex { display: flex; justify-content: space-between; } #bottomFlex > * { padding-left: 50px; padding-right: 50px; } #bottomFlex > *:nth-child(2) { flex-grow: 5; } #bottomFlex > *:nth-child(3) { max-width: 40vw; } \ No newline at end of file diff --git a/output/res/scrolly.js b/output/res/scrolly.js deleted file mode 100644 index 200d849..0000000 --- a/output/res/scrolly.js +++ /dev/null @@ -1,52 +0,0 @@ -/* Scrolly.JS is an extremely simple framework that gives CSS interoperation to scroll events. */ - -var scrollyContainers = document.getElementsByClassName("scrolly-container"); - -function scrolly() { - var scrollyItems = this.getElementsByClassName("scrolly"); - var nearest = undefined; - var nearestVal = Infinity; - for (var i = 0; i < scrollyItems.length; i++) { - var position = scrollyItems[i].getBoundingClientRect(); - var scrollyMargin = 0; - if (scrollyItems[i].hasAttribute("--data-scrollyMargin")) { - scrollyMargin = scrollyItems[i].getAttribute("--data-scrollyMargin"); - } - if (position.top < window.innerHeight - scrollyMargin && position.bottom > scrollyMargin) { - scrollyItems[i].classList.add("scrolly-entered"); - scrollyItems[i].classList.add("scrolly-in"); - scrollyItems[i].classList.remove("scrolly-out"); - } - else { - scrollyItems[i].classList.add("scrolly-out"); - scrollyItems[i].classList.remove("scrolly-in"); - } - var cDisp = Math.abs(window.innerHeight / 2 - (position.top + position.bottom) / 2); - scrollyItems[i].classList.remove("scrolly-center"); - if (cDisp < nearestVal) { - if (nearest) { - nearest.classList.remove("scrolly-center"); - } - nearest = scrollyItems[i]; - scrollyItems[i].classList.add("scrolly-center"); - nearestVal = cDisp; - } - } -} - -for (var i = 0; i < scrollyContainers.length; i++) { - scrollyContainers[i].scrolly = scrolly; - scrollyContainers[i].scrolly(); -} - -window.addEventListener("scroll", () => { - for (var i = 0; i < scrollyContainers.length; i++) { - scrollyContainers[i].scrolly() - } -}); - -window.addEventListener("wheel", () => { - for (var i = 0; i < scrollyContainers.length; i++) { - scrollyContainers[i].scrolly() - } -}); \ No newline at end of file diff --git a/output/res/sitix-large.png b/output/res/sitix-large.png deleted file mode 100644 index 3e724b6..0000000 Binary files a/output/res/sitix-large.png and /dev/null differ diff --git a/output/res/sitix.svg b/output/res/sitix.svg deleted file mode 100644 index c397627..0000000 --- a/output/res/sitix.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - Si - Si - - - diff --git a/output/res/warning.svg b/output/res/warning.svg deleted file mode 100644 index 39f70cf..0000000 --- a/output/res/warning.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - ! - - diff --git a/site/pages/noteboard.html b/site/pages/noteboard.html index 053ee74..f262ada 100644 --- a/site/pages/noteboard.html +++ b/site/pages/noteboard.html @@ -7,6 +7,8 @@ periodically for information on new releases, design considerations, known bugs, etc. You can think of it as a miniblog.
+ 2024-3-11: Model updates, and now this site can actually be built by the latest sitix updates :D. +

2024-3-10: Now the project-object model is a LOT better. When a lookup fails for something that is also a valid filename, that file is loaded as an object (so subsequent lookups will find it). This means it's possible to replicate the behavior of \[#file] with \[^file], although because of child-access you need to escape the filename (like \[^directory/file\\.html]). The latter also allows accessing objects inside a file without rendering that file. The old include diff --git a/site/templates/default.html b/site/templates/default.html index 3ea78b1..1495225 100644 --- a/site/templates/default.html +++ b/site/templates/default.html @@ -21,7 +21,7 @@
[f pages i] - [^i.title] + [^i.title] [/]
@@ -51,7 +51,7 @@ Places in This Site
Home
[f pages i] - [^i.title]
+ [^i.title]
[/]