summaryrefslogtreecommitdiff
path: root/packages/web/site/templates/section.html
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2025-09-12 20:57:59 -0700
committerKleidi Bujari <mail@4kb.net>2025-09-12 21:00:27 -0700
commitfe96211bb8dc81fde57bf6900b840e69f2b218fc (patch)
treeff1c63e7962c6373199b94b8fd236b15e3441244 /packages/web/site/templates/section.html
parentab58c69b6db2902688841a4008221f72bbbb8692 (diff)
downloaddepot-fe96211bb8dc81fde57bf6900b840e69f2b218fc.tar.gz
depot-fe96211bb8dc81fde57bf6900b840e69f2b218fc.tar.bz2
depot-fe96211bb8dc81fde57bf6900b840e69f2b218fc.zip
move packages to overlay and expose certain packages
Diffstat (limited to 'packages/web/site/templates/section.html')
-rw-r--r--packages/web/site/templates/section.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/web/site/templates/section.html b/packages/web/site/templates/section.html
new file mode 100644
index 0000000..9bd8956
--- /dev/null
+++ b/packages/web/site/templates/section.html
@@ -0,0 +1,28 @@
+{% extends "base.html" %}
+
+{% block title %}
+{{ section.title | lower }} :: {{ super() }} {% endblock title %}
+{% block content %}
+
+{% block head %}
+<link
+ rel="alternate"
+ type="application/atom+xml"
+ title="ATOM"
+ href="{{ section.permalink }}atom.xml">
+{% endblock head%}
+
+<h1>{{ section.title }}</h1>
+<p>{{ section.content | safe }}</p>
+
+<hr style="margin-bottom: 1em" />
+<ul style="list-style: none; padding-left: 0">
+ {% for page in section.pages %}
+ <li style="margin-bottom: 1em">
+ <a href="{{ page.path }}">{{ page.title }}</a>
+ <br />
+ <span>{{ page.date | date(format="%B %d, %Y") }}</span>
+ </li>
+ {% endfor %}
+</ul>
+{% endblock content %}