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