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"):
78 print(f"Rewrote {count} img.cleberg.net references to /img/") 78 print(f"Rewrote {count} img.cleberg.net references to /img/")
79 79
80 80
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
82# page carrying an old version as readily as one still carrying the template's 82# page carrying an old version as readily as one still carrying the template's
83# placeholder, and leaves prose that ends a paragraph with a link to orgo alone. 83# placeholder, and leaves prose that ends a paragraph with a link to orgo alone.
84ORGO_NOTE = re.compile( 84ORGO_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>)'
86) 86)
87 87
88 88
@@ -127,7 +127,7 @@ def rewrite_orgo_version(build_dir):
127 count += n 127 count += n
128 if count == 0: 128 if count == 0:
129 print( 129 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 "
131 "content/templates/base.html no longer matches ORGO_NOTE", 131 "content/templates/base.html no longer matches ORGO_NOTE",
132 file=sys.stderr, 132 file=sys.stderr,
133 ) 133 )
content/templates/base.html +8 −8
@@ -60,9 +60,9 @@
60 60
61<nav aria-label="Site Navigation"> 61<nav aria-label="Site Navigation">
62<ul> 62<ul>
63<li><a href="{{ root }}index.html">Home</a></li> 63<li><a href="{{ root }}index.html">home</a></li>
64{%- for item in nav %} 64{%- 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>
66{%- endfor %} 66{%- endfor %}
67</ul> 67</ul>
68</nav> 68</nav>
@@ -87,13 +87,13 @@
87</main> 87</main>
88 88
89<footer> 89<footer>
90<a href="https://gitbay.org/cmc/cleberg.net">Source</a> &middot; 90<a href="https://gitbay.org/cmc/cleberg.net">source</a> &middot;
91<a href="{{ root }}feed.xml">RSS</a> &middot; 91<a href="{{ root }}feed.xml">rss</a> &middot;
92<a href="http://paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion/">Onion</a> &middot; 92<a href="http://paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion/">onion</a> &middot;
93<a href="{{ root }}tips/index.html">Tips</a> &middot; 93<a href="{{ root }}tips/index.html">tips</a> &middot;
94<a href="https://iheartrss.com/">I &hearts; RSS</a> 94<a href="https://iheartrss.com/">i &hearts; rss</a>
95<p>[ <a href="https://krz.sh">krz</a> &middot; <a href="https://audit-labs.dev">audit labs</a> ]</p> 95<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>
97</footer> 97</footer>
98</body> 98</body>
99</html> 99</html>
content/templates/home.html +9 −9
@@ -9,14 +9,14 @@
9<section> 9<section>
10<h1>{{ page.title }}</h1> 10<h1>{{ page.title }}</h1>
11<p>[ <a href="https://krz.sh">krz</a> &middot; <a href="https://audit-labs.dev">audit labs</a> ]</p> 11<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>
13<p>I build tools, write about systems, and run my own infrastructure. Focused on privacy, 13<p>I build tools, write about systems, and run my own infrastructure. Focused on privacy,
14user control, and long-term utility.</p> 14user 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>
16</section> 16</section>
17 17
18<section> 18<section>
19<h2>Recent Posts</h2> 19<h2>recent posts</h2>
20<p>Things I've written recently.</p> 20<p>Things I've written recently.</p>
21<ul class="post-list"> 21<ul class="post-list">
22{%- for entry in pages %} 22{%- for entry in pages %}
@@ -32,14 +32,14 @@ user control, and long-term utility.</p>
32</section> 32</section>
33 33
34<section> 34<section>
35<h2>Elsewhere</h2> 35<h2>elsewhere</h2>
36<p>Places to find me online.</p> 36<p>Places to find me online.</p>
37<ul> 37<ul>
38<li>GitBay: <a href="https://gitbay.org/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> 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> 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> 41<li>mastodon: <a href="https://c.im/@cmc">@cmc</a></li>
42<li>Pixelfed: <a href="https://gram.social/cmc">@cmc</a></li> 42<li>pixelfed: <a href="https://gram.social/cmc">@cmc</a></li>
43</ul> 43</ul>
44</section> 44</section>
45{% endblock %} 45{% endblock %}