diff options
| author | Emil Williams | 2025-08-19 16:41:19 +0000 |
|---|---|---|
| committer | Emil Williams | 2025-08-19 16:41:19 +0000 |
| commit | ccd1bedd2f0865cdde79491a8ea171d78a38814e (patch) | |
| tree | bccd8b683489d9d72abb82f3df66f946d8f7f3a0 /template | |
| parent | 9363bf9c7f11cad2e7b86d6bb8a9566caacf6d01 (diff) | |
| download | gorillanest-ccd1bedd2f0865cdde79491a8ea171d78a38814e.tar.xz gorillanest-ccd1bedd2f0865cdde79491a8ea171d78a38814e.tar.zst | |
I Break Everything I Touch
Diffstat (limited to 'template')
| -rw-r--r-- | template/index.tt | 2 | ||||
| -rw-r--r-- | template/index_user.tt | 4 | ||||
| -rw-r--r-- | template/repository.tt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/template/index.tt b/template/index.tt index a2048a7..6c018d8 100644 --- a/template/index.tt +++ b/template/index.tt @@ -5,7 +5,7 @@ <body> <h1>[% title %]</h1> <h2>[% description %]</h2> -<ul>[% FOR i IN directories %]<li><a href="/[% i %]/">/[% i %]</a></li>[% END %]</ul> +<ul>[% FOR i IN directories %]<li><a href="/[% i %]">/[% i %]</a></li>[% END %]</ul> </body> [% INCLUDE foot.tt %] </html> diff --git a/template/index_user.tt b/template/index_user.tt index e27fb35..908acc7 100644 --- a/template/index_user.tt +++ b/template/index_user.tt @@ -1,9 +1,9 @@ <html> -[% title = "${name} Index" %] +[% title = "${username} Index" %] [% INCLUDE head.tt %] <body> <h1>[% title %]</h1> -<ul>[% FOR i IN directories %]<li><a href="/[% name %]/[% i %]">/[% name %]/[% i %]</a></li>[% END %]</ul> +<ul>[% FOR i IN directories %]<li><a href="/[% username %]/[% i %]">/[% username %]/[% i %]</a></li>[% END %]</ul> </body> [% INCLUDE foot.tt %] </html> diff --git a/template/repository.tt b/template/repository.tt index f11849a..c437075 100644 --- a/template/repository.tt +++ b/template/repository.tt @@ -1,5 +1,5 @@ <html> -[% title = "/${name}/${repository}" %] +[% title = "/${username}/${repository}" %] [% INCLUDE head.tt %] <body> <h1>[% title %]</h1> |
