aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/_footer.htmpl2
-rw-r--r--templates/index.htmpl8
2 files changed, 2 insertions, 8 deletions
diff --git a/templates/_footer.htmpl b/templates/_footer.htmpl
index 71d5318..a0d1987 100644
--- a/templates/_footer.htmpl
+++ b/templates/_footer.htmpl
@@ -5,5 +5,5 @@
{{ " " }}
(<a href="/:/source/">source</a>,
{{ " " }}
-<a href="https://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/server/">upstream</a>)
+<a href="https://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/server/?branch=hare">upstream</a>)
{{ end }}
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>