summaryrefslogtreecommitdiff
path: root/packages/web/site/templates
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2026-10-24 22:52:35 -0700
committerKleidi Bujari <mail@4kb.net>2026-10-24 22:59:09 -0700
commit48c8a4145c5a73874797a6de3f05ce584b1d1798 (patch)
treebd4c627e8c8944fb7082b7a9982e8d3677c2a2c4 /packages/web/site/templates
parent1a181be93f37a94b347b2f5f97a1fef57e11cf89 (diff)
parent27db59cac4f3c3e7a1e4187a5f56d4ec61895c5a (diff)
downloaddepot-master.tar.gz
depot-master.tar.bz2
depot-master.zip
merge hakyllHEADmaster
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>