From 63f5015f73f6b16c543f69a8e4b5bd0e91ba3596 Mon Sep 17 00:00:00 2001 From: rht Date: Fri, 4 Sep 2015 19:05:56 +0700 Subject: [PATCH] Embed directory-listing styles --- dir-index-uncat.html | 62 ++++++++++++++++++++++++++++++++++++++++++++ dir-index.html | 4 +-- 2 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 dir-index-uncat.html diff --git a/dir-index-uncat.html b/dir-index-uncat.html new file mode 100644 index 0000000..0f233a1 --- /dev/null +++ b/dir-index-uncat.html @@ -0,0 +1,62 @@ + + + + + + + + + + {{ .Path }} + + + +
+
+
+
+ Index of {{ .Path }} +
+ + + + + + + {{ range .Listing }} + + + + + + {{ end }} +
+
 
+
+ .. +
+
 
+
+ {{ .Name }} + {{ .Size }}
+
+
+ + diff --git a/dir-index.html b/dir-index.html index 0f233a1..40c28fa 100644 --- a/dir-index.html +++ b/dir-index.html @@ -2,11 +2,9 @@ - - -