aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authoranon2025-08-17 15:14:00 +0200
committeranon2025-08-17 15:14:00 +0200
commitee28f25187d6973d4cd8034d58028339b2db76f3 (patch)
tree9b8ba44fb96f18f5df40dfde0700bdf667245307 /template
parent892c2b0d5b89d05a07fe91195a2e425e6a1840b3 (diff)
parent52a844c398c752a811ec300846342fa5f02e583d (diff)
downloadgorillanest-ee28f25187d6973d4cd8034d58028339b2db76f3.tar.xz
gorillanest-ee28f25187d6973d4cd8034d58028339b2db76f3.tar.zst
Merge branch 'master' of https://git.lain.church/emil/gorillanest
Diffstat (limited to 'template')
-rw-r--r--template/404.tt7
-rw-r--r--template/foot.tt0
-rw-r--r--template/head.tt2
-rw-r--r--template/index.tt10
-rw-r--r--template/index_user.tt7
-rw-r--r--template/repository.tt7
6 files changed, 33 insertions, 0 deletions
diff --git a/template/404.tt b/template/404.tt
new file mode 100644
index 0000000..9d93d48
--- /dev/null
+++ b/template/404.tt
@@ -0,0 +1,7 @@
+<html>
+[% INCLUDE head.tt %]
+<body>
+<h1>404</h1>
+</body>
+[% INCLUDE foot.tt %]
+</html>
diff --git a/template/foot.tt b/template/foot.tt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/template/foot.tt
diff --git a/template/head.tt b/template/head.tt
new file mode 100644
index 0000000..1a9d3d9
--- /dev/null
+++ b/template/head.tt
@@ -0,0 +1,2 @@
+<head>
+</head>
diff --git a/template/index.tt b/template/index.tt
new file mode 100644
index 0000000..bf0c501
--- /dev/null
+++ b/template/index.tt
@@ -0,0 +1,10 @@
+<html>
+[% INCLUDE head.tt %]
+<body>
+<h1>index</h1>
+[% FOR i IN directories %]
+[% i %]
+[% END %]
+</body>
+[% INCLUDE foot.tt %]
+</html>
diff --git a/template/index_user.tt b/template/index_user.tt
new file mode 100644
index 0000000..2cbfbed
--- /dev/null
+++ b/template/index_user.tt
@@ -0,0 +1,7 @@
+<html>
+[% INCLUDE head.tt %]
+<body>
+<h1>index_user</h1>
+</body>
+[% INCLUDE foot.tt %]
+</html>
diff --git a/template/repository.tt b/template/repository.tt
new file mode 100644
index 0000000..004413d
--- /dev/null
+++ b/template/repository.tt
@@ -0,0 +1,7 @@
+<html>
+[% INCLUDE head.tt %]
+<body>
+<h1>repository</h1>
+</body>
+[% INCLUDE foot.tt %]
+</html>