aboutsummaryrefslogtreecommitdiff
path: root/theme/templates
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-09-20 20:48:16 -0500
committerChristian Cleberg <hello@cleberg.net>2025-09-20 20:48:16 -0500
commitd7978b4ccf4c6c56b1c2888791f73271f91fd12c (patch)
tree587bd7191d766aa4910a8b21dcb5da0d71061c08 /theme/templates
parent01a629ca5a26798c67a29bab7a7c9f9def1f80dd (diff)
downloadcleberg.net-d7978b4ccf4c6c56b1c2888791f73271f91fd12c.tar.gz
cleberg.net-d7978b4ccf4c6c56b1c2888791f73271f91fd12c.tar.bz2
cleberg.net-d7978b4ccf4c6c56b1c2888791f73271f91fd12c.zip
EXTREME MINIMALISM
Diffstat (limited to 'theme/templates')
-rw-r--r--theme/templates/base.html18
-rw-r--r--theme/templates/blog.html14
-rw-r--r--theme/templates/index.html15
-rw-r--r--theme/templates/wiki.html12
4 files changed, 11 insertions, 48 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html
index 143f874..4c06aea 100644
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -12,29 +12,25 @@
{% 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" type="image/x-icon" href="{{ url_for("static", file="favicon.ico") }}">
+ <link rel="icon" type="image/x-icon" href="data:,">
{% block meta %}{% endblock %}
{% endblock %}
</head>
<body>
- <a href="#main" class="skip-link">Skip to content</a>
- <nav class="site-nav" aria-label="site-nav" role="navigation">
+ <nav aria-label="site-nav" role="navigation">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/services/">Services</a></li>
- <li><a href="/wiki/">Wiki</a></li>
</ul>
</nav>
- <main id="main">{% block main %}{% endblock %}</main>
+ <main>{% block main %}{% endblock %}</main>
<footer>
- <p>
- <a href="https://stats.uptimerobot.com/OwOWs7HU0z">Status</a> &middot;
- <a href="https://git.cleberg.net/cleberg.net.git" target="_blank"
- rel="noopener">Source</a> &middot;
- <a href="/feed.xml">RSS</a>
- </p>
+ <a href="https://stats.uptimerobot.com/OwOWs7HU0z">Status</a> &middot;
+ <a href="https://git.cleberg.net/cleberg.net.git" target="_blank"
+ rel="noopener">Source</a> &middot;
+ <a href="/feed.xml">RSS</a>
</footer>
</body>
</html>
diff --git a/theme/templates/blog.html b/theme/templates/blog.html
index 7e15d86..b42959d 100644
--- a/theme/templates/blog.html
+++ b/theme/templates/blog.html
@@ -10,19 +10,11 @@ main %}
</p>
<br>
{% for post in posts %}
-<div class="post">
- <div class="post-content">
- <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a>
- {% if post.filetags %}
- <div class="post-tags">
- {% for tag in post.filetags %}
- <span class="tag">{{ tag }}</span>
- {% endfor %}
- </div>
- {% endif %}
- </div>
+<div>
<time datetime='{{ post.date | strftime("%Y-%m-%d") }}'
>{{ post.date|strftime("%B %d, %Y") }}</time
>
+ <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a>
</div>
+<br>
{% endfor %} {% endblock %}
diff --git a/theme/templates/index.html b/theme/templates/index.html
index 0ad4d5a..c540e09 100644
--- a/theme/templates/index.html
+++ b/theme/templates/index.html
@@ -9,21 +9,8 @@
</blockquote>
</section>
<section>
- <h2>Blog Posts</h2>
+ <h2>Recent Posts</h2>
<!-- BEGIN_POSTS -->
<!-- END_POSTS -->
- <a href="/blog/">All Posts →</a>
-</section>
-
-<section>
- <h2>Everything Else</h2>
- <ul>
- <li><a href="/about/">About</a></li>
- <li><a href="https://cv.cleberg.net">Curriculum Vitae</a></li>
- <li><a href="/now/">Now</a></li>
- <li><a href="/salary/">Salary</a></li>
- <li><a href="/services/">Services</a></li>
- <li><a href="/wiki/">Wiki</a></li>
- </ul>
</section>
{% endblock %}
diff --git a/theme/templates/wiki.html b/theme/templates/wiki.html
deleted file mode 100644
index 3bfc10e..0000000
--- a/theme/templates/wiki.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "base.html" %} {% block subtitle %}Wiki | {% endblock %} {% block
-main %}
-<h1>Wiki</h1>
-<p>Use <code>Ctrl + F</code> to search wiki pages for keywords.</p>
-{% for post in posts %}
-<div class="post">
- <a href='{{ url_for("wiki", slug=post.slug) }}'>{{ post.title }}</a>
- <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'
- >{{ post.date|strftime("%B %d, %Y") }}</time
- >
-</div>
-{% endfor %} {% endblock %}