diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-10 22:05:53 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-10 22:05:53 +0800 |
commit | 311befc9ba95b2d2f7db7a5efa2f912a5fa85879 (patch) | |
tree | 8700ce204fb4cbc38ee9791b4a5711fde5ccaffd /templates/index.html.tmpl | |
parent | footer.html: Add link to Lindenii Forge (diff) | |
download | forge-311befc9ba95b2d2f7db7a5efa2f912a5fa85879.tar.gz forge-311befc9ba95b2d2f7db7a5efa2f912a5fa85879.tar.zst forge-311befc9ba95b2d2f7db7a5efa2f912a5fa85879.zip |
*.html.tmpl: Rename from *.html
Diffstat (limited to 'templates/index.html.tmpl')
-rw-r--r-- | templates/index.html.tmpl | 26 |
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 – 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 -}} |