aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/foot.html5
-rw-r--r--templates/index.html4
2 files changed, 6 insertions, 3 deletions
diff --git a/templates/foot.html b/templates/foot.html
new file mode 100644
index 0000000..cda40b0
--- /dev/null
+++ b/templates/foot.html
@@ -0,0 +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://github.com/icyphox/legit">legit</a> that looks like <a href="https://git.zx2c4.com/cgit/about/">cgit</a>
+</div>
+{{ end }}
diff --git a/templates/index.html b/templates/index.html
index f37e352..4be062a 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -28,9 +28,7 @@
</table>
</div>
-<div class='footer'>
- Generated by <a href='https://git.sr.ht/~runxiyu/legitrx'>legitrx</a>.
-</div>
+{{ template "foot" . }}
</main>
</body>
</html>