From c03e38b07ce439f9e6f4d23cb470193393e840e2 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sat, 1 Aug 2026 23:56:19 -0500 Subject: initial commit --- templates/base.html | 30 ++++++++++++++++++++++++++++++ templates/index.html | 14 ++++++++++++++ templates/page.html | 16 ++++++++++++++++ templates/section.html | 29 +++++++++++++++++++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/index.html create mode 100644 templates/page.html create mode 100644 templates/section.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..09c565d --- /dev/null +++ b/templates/base.html @@ -0,0 +1,30 @@ + + + + + + {% block title %}{{ config.title }}{% endblock title %} + + + + + + + + +
+ {% block content %}{% endblock content %} +
+ + + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..a9dd0fc --- /dev/null +++ b/templates/index.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block content %} +

small, durable software · privacy-first tools you control

+ +
+ view services → + browse apps +
+ +
+ {{ section.content | safe }} +
+{% endblock content %} diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..32b1607 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block title %}{{ page.title | lower }} · {{ config.title }}{% endblock title %} +{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %} + +{% block content %} +

← back

+
+

{{ page.title }}

+ {% if page.description %}

{{ page.description }}

{% endif %} + {{ page.content | safe }} + {% if page.extra.link %} +

{{ page.extra.link_label | default(value="source") | lower }} →

+ {% endif %} +
+{% endblock content %} diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..c3a9489 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} + +{% block title %}{{ section.title | lower }} · {{ config.title }}{% endblock title %} +{% block description %}{{ section.description | default(value=config.description) }}{% endblock description %} + +{% block content %} +
+

{{ section.title }}

+ {{ section.content | safe }} +
+ +{% if section.pages %} + +{% endif %} +{% endblock content %} -- cgit v1.2.3