]> git.xolatile.top Git - gorillanest.git/commitdiff
I'M... TEMPLATINGgit add .git add .git add .git add .git add .! AAAAAAAAAA <- You...
authorEmil Williams <emilemilemil@cock.li>
Sun, 17 Aug 2025 14:07:05 +0000 (14:07 +0000)
committerEmil Williams <emilemilemil@cock.li>
Sun, 17 Aug 2025 14:07:05 +0000 (14:07 +0000)
template/404.tt
template/head.tt
template/index.tt
template/index_user.tt
template/repository.tt

index 9d93d484b0abd8647de330a1212a3de0a7227a12..eb409742e3fbc7d73bb4d6ab2114d1fa7471850d 100644 (file)
@@ -1,7 +1,9 @@
 <html>
+[% title = "404 Not Found" %]
 [% INCLUDE head.tt %]
 <body>
-<h1>404</h1>
+  <h1>[% title %]</h1>
+  <p>It's fucking over</p>
 </body>
 [% INCLUDE foot.tt %]
 </html>
index 1a9d3d97cbbb0c6d1539ca21fe512781786b1451..5b32c6c180756d013766335eb966714b06ab2713 100644 (file)
@@ -1,2 +1,3 @@
 <head>
+<title>[% title %]</title>
 </head>
index 829ee7202fd08a5a06dcb478ceab7fe20675959e..4b59942307916b47075c315e472e81b5e47680f8 100644 (file)
@@ -1,8 +1,9 @@
 <html>
+[% title = "Gorilla Nest" %]
 [% INCLUDE head.tt %]
 <body>
-<h1>index</h1>
-<ul>[% FOR i IN directories %]<li>[% i %]</li>[% END %]</ul>
+<h1>[% title %]</h1>
+<ul>[% FOR i IN directories %]<li><a href="/[% i %]/">/[% i %]/</a></li>[% END %]</ul>
 </body>
 [% INCLUDE foot.tt %]
 </html>
index 886beecbb689d4249eae4f25f3a491dbc77e85a5..e27fb35e011a919fbeec74d29f29b72f9b75fa2e 100644 (file)
@@ -1,8 +1,9 @@
 <html>
+[% title = "${name} Index" %]
 [% INCLUDE head.tt %]
 <body>
-<h1>index_user</h1>
-<ul>[% FOR i IN directories %]<li>[% i %]</li>[% END %]</ul>
+<h1>[% title %]</h1>
+<ul>[% FOR i IN directories %]<li><a href="/[% name %]/[% i %]">/[% name %]/[% i %]</a></li>[% END %]</ul>
 </body>
 [% INCLUDE foot.tt %]
 </html>
index 004413d47296c93c33878287479178cebea0a55e..2877fa34980707d5a4358e85d335215836881b67 100644 (file)
@@ -1,7 +1,9 @@
 <html>
+[% title = "/${name}/${repository}" %]
 [% INCLUDE head.tt %]
 <body>
-<h1>repository</h1>
+  <h1>[% title %]</h1>
+  <p> Eventually this page will have something on it, RIGHT?!</p>
 </body>
 [% INCLUDE foot.tt %]
 </html>