aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html.tmpl')
-rw-r--r--templates/index.html.tmpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/index.html.tmpl b/templates/index.html.tmpl
new file mode 100644
index 0000000..3f08355
--- /dev/null
+++ b/templates/index.html.tmpl
@@ -0,0 +1,26 @@
+{{- define "index" -}}
+<!DOCTYPE html>
+<html>
+ <head>
+ {{ template "head_common" . }}
+ <title>Categories &ndash; Lindenii Forge</title>
+ </head>
+ <body class="index">
+ <div class="padding-wrapper">
+ <h1>
+ Categories
+ </h1>
+ <ul>
+ {{- range .categories }}
+ <li>
+ <a href="g/{{ . }}/repos/">{{ . }}</a>
+ </li>
+ {{- end }}
+ </ul>
+ </div>
+ <footer>
+ {{ template "footer" . }}
+ </footer>
+ </body>
+</html>
+{{- end -}}