content/templates/home.html

2272f4bf412ab26c57517e9c369f8859cd269bb1
cleberg.net/content/templates/home.html history · blame · raw

45 lines · 1710 bytes

 1{# The home page: authored prose plus the most recent posts.
 2
 3   A generated page, so it has no source .org file — `pages` holds the blog collection's
 4   entries, newest first, and the prose lives here. The <title> is bare on purpose: the
 5   home page is "cleberg.net" and not "cleberg.net - cleberg.net". #}
 6{% extends "base.html" %}
 7{% block subtitle %}{% endblock %}
 8{% block main %}
 9<section>
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>
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,
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>
16</section>
17
18<section>
19<h2>recent posts</h2>
20<p>Things I've written recently.</p>
21<ul class="post-list">
22{%- for entry in pages %}
23{%- if loop.index <= 3 %}
24<li class="post-list-item">
25{%- if entry.date_iso %}<time datetime="{{ entry.date_iso }}">{{ entry.date_iso }}</time>{% endif %}
26<a href="{{ root }}{{ entry.url }}">{{ entry.title }}</a>
27</li>
28{%- endif %}
29{%- endfor %}
30</ul>
31<p><a href="{{ root }}blog/index.html">All Posts &rarr;</a></p>
32</section>
33
34<section>
35<h2>elsewhere</h2>
36<p>Places to find me online.</p>
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>
43</ul>
44</section>
45{% endblock %}