diff options
Diffstat (limited to 'theme/templates')
| -rw-r--r-- | theme/templates/base.html | 49 | ||||
| -rw-r--r-- | theme/templates/blog.html | 16 | ||||
| -rw-r--r-- | theme/templates/garden.html | 18 | ||||
| -rw-r--r-- | theme/templates/index.html | 38 | ||||
| -rw-r--r-- | theme/templates/page.html | 2 | ||||
| -rw-r--r-- | theme/templates/post.html | 10 |
6 files changed, 62 insertions, 71 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html index 8eca335..65681e5 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -9,45 +9,36 @@ {% if site_description is defined %}<meta name="description" content="{{ site_description }}">{% endif %} {% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}">{% endif %} <link rel="stylesheet" href="{{ url_for("static", file="styles.min.css") }}" type="text/css"> - <link rel="icon" href="{{ url_for("static", file="favicon.svg") }}" type="image/svg+xml"> + <link rel="icon" href="data:,"> {% block meta %}{% endblock %} {% endblock %} </head> <body> <a href="#main-content" class="skip-link">Skip to content</a> - <header class="masthead"> - <a href="/" class="masthead-title">seijaku</a> - <p class="masthead-subtitle"><i>stillness amidst the chaos</i></p> - <nav aria-label="Site Navigation"> - <ul> - <li><a href="/blog/">Blog</a></li> - <li><a href="/tags/">Tags</a></li> - <li><a href="/guides/index.html">Guides</a></li> - <li><a href="/apps/">Apps</a></li> - <li><a href="/garden/">Garden</a></li> - <li><a href="/salary/">Salary</a></li> - </ul> - </nav> - </header> + + <nav aria-label="Site Navigation"> + <ul> + <li><a href="/">Home</a></li> + <li><a href="/apps/">Apps</a></li> + <li><a href="/blog/">Blog</a></li> + <li><a href="/garden/">Garden</a></li> + <li><a href="/guides/">Guides</a></li> + <li><a href="/salary/">Salary</a></li> + <li><a href="/tags/">Tags</a></li> + </ul> + </nav> + <main id="main-content"> {% block main %}{% endblock %} </main> - <hr> + <footer> - <div> - <a href="https://github.com/ccleberg/cleberg.net">Source</a> · - <a href="/feed.xml">RSS</a> · - <a href="http://paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion/">Onion</a> · - <a href="/now/">Now</a> · - <a href="/uses/">Uses</a> · - <a href="/tips/">Tips</a> · - <a href="https://cv.cleberg.net">CV</a> - </div> - <div> - <a href="mailto:[email protected]">[email protected]</a> [<a href="/gpg.txt">PGP</a>] · - Signal: @cmc.01 - </div> + <a href="https://github.com/ccleberg/cleberg.net">Source</a> · + <a href="/feed.xml">RSS</a> · + <a href="http://paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion/">Onion</a> · + <a href="/tips/">Tips</a> </footer> + <section class="indieweb-links" style="display:none"> <link href="https://github.com/ccleberg" rel="me"> <link href="https://gitlab.com/ccleberg" rel="me"> diff --git a/theme/templates/blog.html b/theme/templates/blog.html index 605d883..ba7beb3 100644 --- a/theme/templates/blog.html +++ b/theme/templates/blog.html @@ -1,13 +1,13 @@ {% extends "base.html" %} {% block subtitle %}blog - {% endblock %} {% block main %} <h1>Blog</h1> -<p class="blog-meta">Use <code>⌘ F</code> / <code>Ctrl F</code> to search · <a href="/feed.xml">RSS Feed</a></p> -<p class="label">All Posts</p> +<p>Use <code>⌘ F</code> / <code>Ctrl F</code> to search · <a href="/feed.xml">RSS Feed</a></p> +<p>All Posts</p> <ul class="post-list"> -{% for post in posts %} -<li class="post-list-item"> - <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a> - <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time> -</li> -{% endfor %} + {% for post in posts %} + <li class="post-list-item"> + <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time> + <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a> + </li> + {% endfor %} </ul> {% endblock %} diff --git a/theme/templates/garden.html b/theme/templates/garden.html index 79238f5..c546078 100644 --- a/theme/templates/garden.html +++ b/theme/templates/garden.html @@ -14,14 +14,14 @@ around.</p> <span><strong>🍂 Compost:</strong> Ideas you no longer agree with but want to keep for historical context.</span><br><br> </section> -<ul class="garden-index"> -{% for post in posts %} -<li> - <a href='{{ url_for("garden", slug=post.slug) }}'>{{ post.title }}</a> - {% if post.description %} - <span class="garden-desc">{{ post.description }}</span> - {% endif %} -</li> -{% endfor %} +<ul> + {% for post in posts %} + <li> + <a href='{{ url_for("garden", slug=post.slug) }}'>{{ post.title }}</a> + {% if post.description %} + <span>{{ post.description }}</span> + {% endif %} + </li> + {% endfor %} </ul> {% endblock %} diff --git a/theme/templates/index.html b/theme/templates/index.html index d15eeca..de9fae3 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -1,22 +1,22 @@ {% extends "base.html" %} {% block main %} -<div class="homepage-intro"> - <p>My name is Christian.</p> - <p>I’m a technology auditor who doesn’t trust technology companies.</p> - <p>I run my own infrastructure. I audit everyone else's.</p> - <p>The infrastructure is the point. Self-hosted, self-managed, minimal - dependencies. This site is part of it: plaintext, no trackers, no - frameworks, no corporate CDN.</p> - <p>The audit job funds it. KPMG. Technology Assurance. I spend 50-80 hours a - week inside the systems I refuse to use personally. The irony is the - business model.</p> - <p>GPG key, salary, and server stack are all public. That's the whole - introduction.</p> -</div> +<section> + <p><b>Hi, I'm Christian.</b></p> + <p>I'm a Technology Assurance Manager @ KPMG.</p> + <p>I use this site as a place to think out loud (see my <a href="/blog/">blog</a>, <a href="/garden/">garden</a>, or + <a href="/guides/">guides</a>), a place to publish information (see + my <a href="https://cv.cleberg.net">CV</a> and <a href="/salary/">salary</a> + pages), and a foundational URI to use for my projects (see + my <a href="/apps/">apps</a>).</p> + <p>If you want to chat, you can find me in the following spaces:</p> + <ul> + <li>hello [at] cleberg.net (<a href="/gpg.txt">PGP Key</a>)</li> + <li>@cmc.01 on <a href="https://signal.org">Signal</a></li> + </ul> + <p>Curious about the technology behind this website? Check out my <a href="/uses/">/uses</a> page.</p> + <p>Curious about what I've been up to lately in my personal life? Check out my <a href="/now/">/now</a> page.</p> +</section> -<p class="section-label">Recent Posts</p> -<ul class="post-list"> - <!-- BEGIN_POSTS --> - <!-- END_POSTS --> -</ul> -<a class="all-posts-link" href="/blog/">All Posts →</a> +<p>Recent Posts</p> +<!-- BEGIN_POSTS --><!-- END_POSTS --> +<p><a href="/blog/">All Posts →</a></p> {% endblock %} diff --git a/theme/templates/page.html b/theme/templates/page.html index a302c4b..6c22589 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -3,6 +3,6 @@ {% block main %} <article> <h1>{{ post.title }}</h1> - <div class="page-body">{{ post.html | safe }}</div> + <div>{{ post.html | safe }}</div> </article> {% endblock %} diff --git a/theme/templates/post.html b/theme/templates/post.html index 018068e..df6c3b7 100644 --- a/theme/templates/post.html +++ b/theme/templates/post.html @@ -10,12 +10,12 @@ {% endblock %} {% block main %} <article> - <p class="article-dateline"><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time></p> - <h1 class="article-title">{{ post.title }}</h1> + <p><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time></p> + <h1>{{ post.title }}</h1> {% if post.description is defined %} - <p class="article-standfirst">{{ post.description }}</p> + <p>{{ post.description }}</p> {% endif %} - <div class="article-body">{{ post.html | safe }}</div> - <div class="reply-link"><a href="mailto:[email protected]">Reply via email →</a></div> + <div>{{ post.html | safe }}</div> + <div><a href="mailto:[email protected]">Reply via email →</a></div> </article> {% endblock %} |
