summaryrefslogtreecommitdiff
path: root/packages/web/site/templates
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2026-10-03 22:05:36 -0700
committerKleidi Bujari <mail@4kb.net>2026-10-08 23:23:46 -0700
commit2abb4760b3853cd7616c8614316a53f5481c90d7 (patch)
tree973905dcb8ecbb325b1ad5b996b41da7bc68aa4c /packages/web/site/templates
parentbb585fb98b80729ce3ebc930b14c6cbab4acbabf (diff)
downloaddepot-master.tar.gz
depot-master.tar.bz2
depot-master.zip
fix unbelievably dumb zola bug until changing to hakyllHEADmaster
why does reqwest client have to run?? and why does it panic so easily?
Diffstat (limited to 'packages/web/site/templates')
-rw-r--r--packages/web/site/templates/index.html2
-rw-r--r--packages/web/site/templates/page.html5
2 files changed, 3 insertions, 4 deletions
diff --git a/packages/web/site/templates/index.html b/packages/web/site/templates/index.html
index bc2994a..41954b6 100644
--- a/packages/web/site/templates/index.html
+++ b/packages/web/site/templates/index.html
@@ -7,7 +7,7 @@
<div style="margin-bottom: 3em">
<h1>{{ section.title }}</h1>
<ul style="list-style: none; padding-left: 0">
- {% for page in section.pages | slice(end=3) %}
+ {% for page in section.pages[-3:] %}
<li style="margin-bottom: 1em">
<a href="{{ page.path }}">{{ page.title }}</a>
<br />
diff --git a/packages/web/site/templates/page.html b/packages/web/site/templates/page.html
index 8189fe6..32e13f3 100644
--- a/packages/web/site/templates/page.html
+++ b/packages/web/site/templates/page.html
@@ -1,11 +1,10 @@
{% extends "base.html" %}
-{% if page.title %}
{% block title%}
+{% if page.title %}
{{ page.title }} :: {{ super() }}
-{% endblock title %}
{% endif %}
-
+{% endblock title %}
{% block content %}
<article>