aboutsummaryrefslogtreecommitdiff
path: root/templates/index.htmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-15 16:58:28 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-15 16:58:28 +0800
commit03122a39f821721cbf0cbb8d8d362b84bd6d4601 (patch)
treef5c8740999756b19438ed5d40da75dcf1a92fa44 /templates/index.htmpl
parentHandle invalid URIs by reporting back to the user (diff)
downloadforge-03122a39f821721cbf0cbb8d8d362b84bd6d4601.tar.gz
forge-03122a39f821721cbf0cbb8d8d362b84bd6d4601.tar.zst
forge-03122a39f821721cbf0cbb8d8d362b84bd6d4601.zip
Remove the "path segments" section in index.htmpl
Diffstat (limited to '')
-rw-r--r--templates/index.htmpl8
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/index.htmpl b/templates/index.htmpl
index 1b4dd8b..e67cc09 100644
--- a/templates/index.htmpl
+++ b/templates/index.htmpl
@@ -1,4 +1,4 @@
-{{ define tp_index(handle: io::handle, segments: []str) (void | io::error | nomem) }}
+{{ define tp_index(handle: io::handle) (void | io::error | nomem) }}
<!DOCTYPE html>
<html lang="en">
<head>
@@ -7,12 +7,6 @@
</head>
<body>
{{ render _tp_header(handle, "test", "test") }}
-<h2>Path segments</h2>
-<ul>
- {{ for let s .. segments }}
- <li>{{ s }}</li>
- {{ end }}
-</ul>
<div class="padding-wrapper">
<table class="wide rounded">
<thead>