Commit 7545d6167a

7545d6167a95c1601baa7718313c1e2f96b34411

parent: 1ff252b61a

Verified · cmc

cmc <hello@cleberg.net> · 2026-04-06 18:07 UTC

realign homepage and fix post-list CSS

Layout: unified · split

theme/static/styles.css +1 −1
@@ -3,7 +3,7 @@ a, a:visited { color: #0000ff; }
33nav ul { list-style: none; padding: 0; display: flex; flex-direction: row; }
44nav ul li { padding-right: 0.5rem;}
55img { max-width: 100%; }
6.post-list { padding: 0; }
6.post-list { padding: 0; padding-inline-start: 0; }
77.post-list-item { display: flex; list-style: none; align-items: baseline; }
88.post-list-item time { padding-right: 0.5rem; white-space: nowrap; }
99.post-list-item a { flex-grow: 1; white-space: normal; }
theme/templates/index.html +10 −8
@@ -6,6 +6,14 @@
66 <p><a href="/uses">Uses</a> &middot; <a href="/now">Now</a></p>
77</section>
88
9<section>
10 <h2>Recent Posts</h2>
11 <ul>
12 <!-- BEGIN_POSTS --><!-- END_POSTS -->
13 </ul>
14 <p><a href="/blog/">All Posts &rarr;</a></p>
15</section>
16
917<section>
1018 <h2>Projects</h2>
1119 <p>Things I've built.</p>
@@ -14,13 +22,7 @@
1422 <li><a href="https://sr.ht/~ccleberg/Rune/">Rune</a>: iOS client for Njalla</li>
1523 <li><a href="https://github.com/audit-labs/audit-tools">Audit Tools</a>: Automated scripts for auditors</li>
1624 </ul>
17 <p><i>Find my SourceHut and GitHub profile links below.</i></p>
18</section>
19
20<section>
21 <h2>Recent Posts</h2>
22 <!-- BEGIN_POSTS --><!-- END_POSTS -->
23 <p><a href="/blog/">All Posts &rarr;</a></p>
25 <p><i>Find my SourceHut and GitHub profile links below for more projects.</i></p>
2426</section>
2527
2628<section>
@@ -29,7 +31,7 @@
2931 <li>Sourcehut (primary): <a href="https://sr.ht/~ccleberg">~ccleberg</a></li>
3032 <li>GitHub (backup): <a href="https://github.com/ccleberg">@ccleberg</a></li>
3133 <li>Email: <a href="mailto:hello@cleberg.net">hello@cleberg.net</a> (<a href="/gpg.txt">GPG</a>)</li>
32 <li>Signal: <span>@cmc.01</span></li>
34 <li>Signal: <a href="https://signal.me/#eu/JYao4TQ7pIOaSk4HwMiaPRP47la4DlKaGnjklHzHJWldg31wG0JDSJYqLjVx9Hou">@cmc.01</a></li>
3335 </ul>
3436</section>
3537{% endblock %}