aboutsummaryrefslogtreecommitdiff
path: root/theme/templates
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates')
-rw-r--r--theme/templates/base.html22
-rw-r--r--theme/templates/blog.html15
-rw-r--r--theme/templates/feed.xml37
-rw-r--r--theme/templates/index.html55
-rw-r--r--theme/templates/page.html12
-rw-r--r--theme/templates/post.html22
-rw-r--r--theme/templates/wiki.html14
7 files changed, 0 insertions, 177 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html
deleted file mode 100644
index 33197c2..0000000
--- a/theme/templates/base.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-<!doctype html>
-<html lang="en-us">
-<head>
- {% block head %}
- <meta charset="utf-8">
- <title>
- {% block subtitle %}{% endblock %}
- {% block title %}{{ site_name | default("weblorg website") }}{% endblock %}
- </title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- {% if site_owner is defined %}<meta name="author" content="{{ site_owner }}" >{% endif %}
- {% 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">
- {% block meta %}{% endblock %}
- {% endblock %}
-</head>
-<body>
- <main>{% block main %}{% endblock %}</main>
-</body>
-</html>
diff --git a/theme/templates/blog.html b/theme/templates/blog.html
deleted file mode 100644
index 110043f..0000000
--- a/theme/templates/blog.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% extends "base.html" %}
-
-{% block subtitle %}Blog | {% endblock %}
-{% block main %}
-<p><a href="/">&larr; home</a></p>
-<h1>Blog</h1>
-<p>Use <code>Ctrl + F</code> to search blog post titles for keywords.</p>
-<p>You can also add the <a href="/feed.xml">RSS Feed</a> to your feed reader.</p>
-{% for post in posts %}
-<div class="post">
- <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>
-</div>
-{% endfor %}
-{% endblock %}
diff --git a/theme/templates/feed.xml b/theme/templates/feed.xml
deleted file mode 100644
index d3f25db..0000000
--- a/theme/templates/feed.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<rss version="2.0"
- xmlns:content="http://purl.org/rss/1.0/modules/content/"
- xmlns:wfw="http://wellformedweb.org/CommentAPI/"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:atom="http://www.w3.org/2005/Atom"
- xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
- xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
- xmlns:georss="http://www.georss.org/georss"
- xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
- xmlns:media="http://search.yahoo.com/mrss/">
- <channel>
- <title>{{ site_name | default("Simple Blog") }}</title>
- <atom:link
- href="{{ url_for("rss") }}"
- rel="self" type="application/rss+xml" />
- <link>{{ url_for("index") }}</link>
- <description><![CDATA[]]></description>
- <language>en</language>
- <pubDate>{{ posts | first | getattr("date") | strftime("%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
- <lastBuildDate>{{ now() | strftime("%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
- <generator>{{ meta.generator }}</generator>
- <webMaster>{{ site_owner | default("hello@cleberg.net") }}</webMaster>
-
- {% for post in posts %}
- <item>
- <title>{{ post.title }}</title>
- <link>{{ url_for("blog", slug=post.slug) }}</link>
- <author>{{ post.author|default("hello@cleberg.net") }}</author>
- <guid isPermaLink="false">{{ url_for("blog", slug=post.slug) }}</guid>
- <pubDate>{{ post.date|strftime("%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
- <description><![CDATA[{{ post.html|safe }}]]></description>
- </item>
- {% endfor %}
-
- </channel>
-</rss>
diff --git a/theme/templates/index.html b/theme/templates/index.html
deleted file mode 100644
index ad96a5d..0000000
--- a/theme/templates/index.html
+++ /dev/null
@@ -1,55 +0,0 @@
-{% extends "base.html" %} {% block main %}
-<section>
- <h1>cleberg.net</h1>
- <pre>pub rsa4096 2022-11-16 [SC]
- <a href="/gpg.txt">3917 973F B159 BBB8 6194 5385 6945 1A51 7AC0 CB37</a>
-uid [ultimate] Christian Cleberg &lt;hello@cleberg.net&gt;</pre>
-</section>
-<section>
- <table>
- <thead>
- <tr>
- <th>link</th>
- <th>desc</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a href="/blog/">blog</a></td>
- <td>my personal blog</td>
- </tr>
- <tr>
- <td><a href="https://git.cleberg.net">git</a></td>
- <td>personal git hosting</td>
- </tr>
- <tr>
- <td><a href="https://matrix.to/#/@cyborg:matrix.tchncs.de">matrix</a></td>
- <td>encrypted chat</td>
- </tr>
- <tr>
- <td><a href="/feed.xml">rss</a></td>
- <td>feed for my personal blog</td>
- </tr>
- <tr>
- <td><a href="/salary/">salary</a></td>
- <td>my salary log</td>
- </tr>
- <tr>
- <td><a href="/services/">services</a></td>
- <td>my public services</td>
- </tr>
- <tr>
- <td><a href="/wiki/">wiki</a></td>
- <td>my personal wiki</td>
- </tr>
- </tbody>
- </table>
-</section>
-<footer>
- <p>
- Last Build: &lt;<time datetime='{{ now() | strftime("%Y-%m-%d %H:%M:%S") }}'
- >{{ now() | strftime("%Y-%m-%d %a %H:%M:%S") }}</time
- >&gt;
- </p>
-</footer>
-{% endblock %}
diff --git a/theme/templates/page.html b/theme/templates/page.html
deleted file mode 100644
index 2e6dada..0000000
--- a/theme/templates/page.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "base.html" %}
-
-{% block subtitle %}
- {{ post.title }} |
-{% endblock %}
-{% block main %}
-<p><a href="/">&larr; home</a></p>
-<article role="article">
- <h1>{{ post.title }}</h1>
- <section>{{ post.html | safe }}</section>
-</article>
-{% endblock %}
diff --git a/theme/templates/post.html b/theme/templates/post.html
deleted file mode 100644
index 0a154f9..0000000
--- a/theme/templates/post.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{% extends "base.html" %} {% block subtitle %} {{ post.title }} | {% endblock %}
-{% block meta %}
-<meta property="og:title" content="{{ post.title }}" />
-<meta property="og:url" content="{{ post.url }}" />
-{% if post.description is defined %}
-<meta property="og:description" content="{{ post.description }}" />
-{% elif project_description is defined %}
-<meta property="og:description" content="{{ project_description }}" />
-{% endif %} {% endblock %} {% block main %}
-<p><a href="/">&larr; home</a></p>
-<article role="article">
- <section class="post-metadata">
- <h1 class="post__title">{{ post.title }}</h1>
- {% if post.date is defined %}
- <time datetime='{{ post.date|strftime("%Y-%m-%d") }}'
- >&lt;{{ post.date|strftime("%Y-%m-%d %a %H:%M:%S") }}&gt;</time
- >
- {% endif %}
- </section>
- <section>{{ post.html | safe }}</section>
-</article>
-{% endblock %}
diff --git a/theme/templates/wiki.html b/theme/templates/wiki.html
deleted file mode 100644
index 3860350..0000000
--- a/theme/templates/wiki.html
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends "base.html" %}
-
-{% block subtitle %}Wiki | {% endblock %}
-{% block main %}
-<p><a href="/">&larr; home</a></p>
-<h1>Wiki</h1>
-<p>Use <code>Ctrl + F</code> to search wiki pages for keywords.</p>
-{% for post in posts %}
- <div class="post">
- <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time>
- <a href='{{ url_for("wiki", slug=post.slug) }}'>{{ post.title }}</a>
- </div>
-{% endfor %}
-{% endblock %}