Commit 9e3c2b680b

9e3c2b680ba7dba77020e8cd9d74208a3d73a36a

parent: 856c885996

Verified · cmc ci/build: error ci/link-check: error ci/lint: error

cmc <hello@cleberg.net> · 2026-09-04 03:47 UTC

lowercase homepage

Layout: unified · split

build.py +3 −3
@@ -78,11 +78,11 @@ def rewrite_img_urls(build_dir=".build"):
7878 print(f"Rewrote {count} img.cleberg.net references to /img/")
7979
8080
81# The footer's "Powered by orgo <version>" note. Matching the whole phrase rewrites a
81# The footer's "built with orgo <version>" note. Matching the whole phrase rewrites a
8282# page carrying an old version as readily as one still carrying the template's
8383# placeholder, and leaves prose that ends a paragraph with a link to orgo alone.
8484ORGO_NOTE = re.compile(
85 r'(Powered by <a href="https://gitbay\.org/krz/orgo">orgo</a> )[^<]*(</p>)'
85 r'(built with <a href="https://gitbay\.org/krz/orgo">orgo</a> )[^<]*(</p>)'
8686)
8787
8888
@@ -127,7 +127,7 @@ def rewrite_orgo_version(build_dir):
127127 count += n
128128 if count == 0:
129129 print(
130 "No 'Powered by orgo' note found in the build — the footer in "
130 "No 'built with orgo' note found in the build — the footer in "
131131 "content/templates/base.html no longer matches ORGO_NOTE",
132132 file=sys.stderr,
133133 )
content/templates/base.html +8 −8
@@ -60,9 +60,9 @@
6060
6161<nav aria-label="Site Navigation">
6262<ul>
63<li><a href="{{ root }}index.html">Home</a></li>
63<li><a href="{{ root }}index.html">home</a></li>
6464{%- for item in nav %}
65<li><a href="{{ item.url }}">{{ item.title }}</a></li>
65<li><a href="{{ item.url }}">{{ item.title | lower }}</a></li>
6666{%- endfor %}
6767</ul>
6868</nav>
@@ -87,13 +87,13 @@
8787</main>
8888
8989<footer>
90<a href="https://gitbay.org/cmc/cleberg.net">Source</a> &middot;
91<a href="{{ root }}feed.xml">RSS</a> &middot;
92<a href="http://paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion/">Onion</a> &middot;
93<a href="{{ root }}tips/index.html">Tips</a> &middot;
94<a href="https://iheartrss.com/">I &hearts; RSS</a>
90<a href="https://gitbay.org/cmc/cleberg.net">source</a> &middot;
91<a href="{{ root }}feed.xml">rss</a> &middot;
92<a href="http://paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion/">onion</a> &middot;
93<a href="{{ root }}tips/index.html">tips</a> &middot;
94<a href="https://iheartrss.com/">i &hearts; rss</a>
9595<p>[ <a href="https://krz.sh">krz</a> &middot; <a href="https://audit-labs.dev">audit labs</a> ]</p>
96<p>Powered by <a href="https://gitbay.org/krz/orgo">orgo</a> ORGO_VERSION</p>
96<p>built with <a href="https://gitbay.org/krz/orgo">orgo</a> ORGO_VERSION</p>
9797</footer>
9898</body>
9999</html>
content/templates/home.html +9 −9
@@ -9,14 +9,14 @@
99<section>
1010<h1>{{ page.title }}</h1>
1111<p>[ <a href="https://krz.sh">krz</a> &middot; <a href="https://audit-labs.dev">audit labs</a> ]</p>
12<p>Privacy &middot; Self-Hosting &middot; iOS</p>
12<p>privacy &middot; self-hosting &middot; ios</p>
1313<p>I build tools, write about systems, and run my own infrastructure. Focused on privacy,
1414user control, and long-term utility.</p>
15<p><a href="{{ root }}uses/index.html">Uses</a> &middot; <a href="{{ root }}now/index.html">Now</a></p>
15<p><a href="{{ root }}uses/index.html">uses</a> &middot; <a href="{{ root }}now/index.html">now</a></p>
1616</section>
1717
1818<section>
19<h2>Recent Posts</h2>
19<h2>recent posts</h2>
2020<p>Things I've written recently.</p>
2121<ul class="post-list">
2222{%- for entry in pages %}
@@ -32,14 +32,14 @@ user control, and long-term utility.</p>
3232</section>
3333
3434<section>
35<h2>Elsewhere</h2>
35<h2>elsewhere</h2>
3636<p>Places to find me online.</p>
3737<ul>
38<li>GitBay: <a href="https://gitbay.org/cmc">@cmc</a></li>
39<li>Email: <a href="mailto:hello@cleberg.net">hello@cleberg.net</a> (<a href="{{ root }}gpg.txt">GPG</a>)</li>
40<li>Lemmy: <a href="https://r.nf/u/cmc">@cmc</a></li>
41<li>Mastodon: <a href="https://c.im/@cmc">@cmc</a></li>
42<li>Pixelfed: <a href="https://gram.social/cmc">@cmc</a></li>
38<li>gitbay: <a href="https://gitbay.org/cmc">@cmc</a></li>
39<li>email: <a href="mailto:hello@cleberg.net">hello@cleberg.net</a> (<a href="{{ root }}gpg.txt">GPG</a>)</li>
40<li>lemmy: <a href="https://r.nf/u/cmc">@cmc</a></li>
41<li>mastodon: <a href="https://c.im/@cmc">@cmc</a></li>
42<li>pixelfed: <a href="https://gram.social/cmc">@cmc</a></li>
4343</ul>
4444</section>
4545{% endblock %}