diff --git a/LICENSE b/LICENSE index ba1fee6..8ea100b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The two parts of this work are covered by separate licenses. -The 'src/' directory (static site generator and backend code) is licensed under the Creative Commons BY-NC-SA 4.0 license. +The 'src/' and `crates/` directories (static site generator and backend code) is licensed under the Creative Commons BY-NC-SA 4.0 license. A copy of the license is available in the 'src/LICENSE' file. The 'site/' directory (the contents of the website and the frontend code) is not publicly licensed and all rights are reserved. diff --git a/crates/compute_graph/test.dot b/crates/compute_graph/test.dot deleted file mode 100644 index dbce12a..0000000 --- a/crates/compute_graph/test.dot +++ /dev/null @@ -1,7 +0,0 @@ -digraph { - 0 [label ="ConstNode (id=0)"] - 1 [label ="ConstNode (id=1)"] - 2 [label ="RuleNode (id=2)"] - 0 -> 2 [] - 1 -> 2 [] -} diff --git a/crates/compute_graph/test.svg b/crates/compute_graph/test.svg deleted file mode 100644 index cd50597..0000000 --- a/crates/compute_graph/test.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - -0 - -ConstNode<i32> (id=0) - - - -2 - -RuleNode<compute_graph::tests::Add> (id=2) - - - -0->2 - - - - - -1 - -ConstNode<i32> (id=1) - - - -1->2 - - - - - diff --git a/site_test/archive.html b/site_test/archive.html index 1bab47e..3876eed 100644 --- a/site_test/archive.html +++ b/site_test/archive.html @@ -6,17 +6,19 @@ {% block content -%} -

Archive

+

Archive

{% for year in years %}
{% for entry in posts_by_year[year] %} -
- - - {{ entry.title }} - -
+ + + + + {{ entry.title }} + {% endfor %}
{% if not loop.last %} diff --git a/site_test/colophon.html b/site_test/colophon.html new file mode 100644 index 0000000..aedcef2 --- /dev/null +++ b/site_test/colophon.html @@ -0,0 +1,52 @@ +{% extends "default" %} + +{% block titlevariable %} +{% set title = "Colophon" %} +{% endblock %} + +{% block content -%} + +

Colophon

+ +
+

+ This website is produced using a custom static site generator called v7, which is open source. + It comprises some 7,000 lines of Rust code, and took too much time to develop. + Read more about the architecture. +

+ +

+ Body text is typeset in Matthew Butterick’s Valkyrie. + Butterick’s Practical Typography also informed many of the typographic choices of this website. + Code is set in MD IO by Mass Driver. +

+ +

+ For analytics, I use GoatCounter (privacy policy) to get a rough sense of what people are reading. + No personally identifiable information is stored, and no cookies are used. + The statistics gathered are public. +

+ +

+ All of the posts are written by yours truly. + No generative artificial intelligence tools were used to create this website. +

+ +

+ All content on this website is under copyright and may not be republished without permission. +

+ +
+ +
+

+ Now, there’s this about cynicism, Sergeant. + It’s the universe’s most supine moral position. + Real comfortable. + If nothing can be done, then you’re not some kind of shit for not doing it, and you can lie there and stink to yourself in perfect peace. +

+

— Lois McMaster Bujold, Borders of Infinity

+
+
+ +{%- endblock %} diff --git a/site_test/css/external-link.svg b/site_test/css/external-link.svg index 55003a6..6a55fb6 100644 --- a/site_test/css/external-link.svg +++ b/site_test/css/external-link.svg @@ -1,4 +1,3 @@ - Elsewhere + +
+

A non-exhaustive list of other places I can be found on the internet.

+ + +
+ +{% endblock %} diff --git a/site_test/index.html b/site_test/index.html index 23a8bfd..c50c706 100644 --- a/site_test/index.html +++ b/site_test/index.html @@ -55,7 +55,6 @@ {% block footer_links %} {% set additional_links = [ - "Book Log", "/books/", "TV Commentary", "/tv/", "Modding Tutorials", "/tutorials/", ] %} diff --git a/site_test/layout/article.html b/site_test/layout/article.html index 80abea4..bec3cf0 100644 --- a/site_test/layout/article.html +++ b/site_test/layout/article.html @@ -68,10 +68,15 @@ const commentsPostID = "{{ metadata.comments_post_id }}";

Comments

Reply to this post via the Fediverse.

+ -{% endif %} - -
+{% endif %} {%- endblock %} diff --git a/site_test/layout/default.html b/site_test/layout/default.html index 3a5c8fb..6d56fbd 100644 --- a/site_test/layout/default.html +++ b/site_test/layout/default.html @@ -37,13 +37,17 @@

Shadowfacts

-

The outer part of a shadow is called the penumbra.

+

The outer part of a shadow is called the penumbra.

{% block content %}{% endblock %} + + {% if _permalink != "/" %} +
+ {% endif %}
@@ -69,7 +73,7 @@ - + {% if _development %}