From dd5e634482c2747d4514b784ec8dded9c7fa29cf Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Wed, 1 Jun 2022 17:04:24 +0900 Subject: Finish basic functionality --- templates/archive.html | 22 ++++++++++------------ templates/directory.html | 12 ++++++++++++ 2 files changed, 22 insertions(+), 12 deletions(-) create mode 100644 templates/directory.html (limited to 'templates') diff --git a/templates/archive.html b/templates/archive.html index d3d8e0b..c0cc144 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -1,19 +1,17 @@ - + {{.Title}} - - -{{range .Entries}} -{{.Name}}{{end}} + + +
{{range .Entries}} + {{.Name}}{{end}} +
diff --git a/templates/directory.html b/templates/directory.html new file mode 100644 index 0000000..c89d388 --- /dev/null +++ b/templates/directory.html @@ -0,0 +1,12 @@ + + + + +{{.Title}} + +
+

../

{{range .Entries}} +

{{.}}

{{end}} +
+ + -- cgit 1.4.1