aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/404.html11
-rw-r--r--templates/templates.go15
2 files changed, 11 insertions, 15 deletions
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..ab5b34a
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" />
+ </head>
+ <body>
+ <div class="container">
+ <p>No packages found under: "{{ .Path }}".</p>
+ </div>
+ </body>
+</html>
diff --git a/templates/templates.go b/templates/templates.go
deleted file mode 100644
index 4217a5a..0000000
--- a/templates/templates.go
+++ /dev/null
@@ -1,15 +0,0 @@
-// Package templates exposes the template used by Sally
-// to render the HTML pages.
-package templates
-
-import _ "embed" // needed for go:embed
-
-// Index holds the contents of the index.html template.
-//
-//go:embed index.html
-var Index string
-
-// Package holds the contents of the package.html template.
-//
-//go:embed package.html
-var Package string