aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html3
-rw-r--r--templates/500.html6
-rw-r--r--templates/commit.html1
-rw-r--r--templates/file.html1
-rw-r--r--templates/foot.html2
-rw-r--r--templates/log.html1
-rw-r--r--templates/refs.html1
-rw-r--r--templates/repo.html1
-rw-r--r--templates/tree.html1
9 files changed, 14 insertions, 3 deletions
diff --git a/templates/404.html b/templates/404.html
index 4f32abc..20bb58c 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -6,7 +6,8 @@
<body>
{{ template "nav" . }}
<main>
- <h3>404 &mdash; nothing like that here.</h3>
+ <h3>404 Not Found</h3>
+{{ template "foot" . }}
</main>
</body>
</html>
diff --git a/templates/500.html b/templates/500.html
index 9f0657f..fa1a639 100644
--- a/templates/500.html
+++ b/templates/500.html
@@ -6,7 +6,11 @@
<body>
{{ template "nav" . }}
<main>
- <h3>500 &mdash; something broke!</h3>
+ <h3>500 Internal Server Error</h3>
+ <p>
+ You may wish to contact the instance administrator.
+ </p>
+{{ template "foot" . }}
</main>
</body>
</html>
diff --git a/templates/commit.html b/templates/commit.html
index 115024b..e23a96d 100644
--- a/templates/commit.html
+++ b/templates/commit.html
@@ -77,6 +77,7 @@
</div>
{{ end }}
</section>
+{{ template "foot" . }}
</main>
</body>
</html>
diff --git a/templates/file.html b/templates/file.html
index c229611..de81b17 100644
--- a/templates/file.html
+++ b/templates/file.html
@@ -22,6 +22,7 @@
<!--TODO: Why is it like this???-->
</table>
</div>
+{{ template "foot" . }}
</main>
</body>
</html>
diff --git a/templates/foot.html b/templates/foot.html
index b4aa5fd..795a9bf 100644
--- a/templates/foot.html
+++ b/templates/foot.html
@@ -1,5 +1,5 @@
{{ define "foot" }}
<div class='footer'>
- Generated by <a href='https://git.sr.ht/~runxiyu/legitrx'>legitrx</a>, a fork of <a href="https://git.icyphox.sh/legit">legit</a> that looks like <a href="https://git.zx2c4.com/cgit/about/">cgit</a>
+ Generated by <a href='https://git.sr.ht/~runxiyu/legitrx'>legitrx</a>, a fork of <a href="https://git.icyphox.sh/legit">legit</a>
</div>
{{ end }}
diff --git a/templates/log.html b/templates/log.html
index c75d9d7..153e01c 100644
--- a/templates/log.html
+++ b/templates/log.html
@@ -19,6 +19,7 @@
</div>
{{ end }}
</div>
+{{ template "foot" . }}
</main>
</body>
</html>
diff --git a/templates/refs.html b/templates/refs.html
index d8a3be0..e8534a7 100644
--- a/templates/refs.html
+++ b/templates/refs.html
@@ -32,6 +32,7 @@
{{ end }}
</div>
{{ end }}
+{{ template "foot" . }}
</main>
</body>
</html>
diff --git a/templates/repo.html b/templates/repo.html
index 86e0d60..a3c41d9 100644
--- a/templates/repo.html
+++ b/templates/repo.html
@@ -28,6 +28,7 @@
<strong>clone</strong>
<pre>git clone https://{{ .servername }}/{{ .name }}</pre>
</div>
+{{ template "foot" . }}
</main>
</body>
</html>
diff --git a/templates/tree.html b/templates/tree.html
index 2e439c8..30e8c57 100644
--- a/templates/tree.html
+++ b/templates/tree.html
@@ -45,6 +45,7 @@
<article>
<pre>{{- if .readme }}{{ .readme }}{{- end -}}</pre>
</article>
+{{ template "foot" . }}
</main>
</body>
</html>