aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGravatar Grayson Koonce <grayson.koonce@gmail.com> 2016-10-12 11:04:26 -0700
committerGravatar GitHub <noreply@github.com> 2016-10-12 11:04:26 -0700
commitac8374fd17e30fca9a7773a2a6f690a7ea4d2ec9 (patch)
treee9a61adde4bc5eef80583f3e1d6f9379a20b4f99 /templates
parentb80c4f3e920994823061eb05dc0a5bc3881ddb02 (diff)
downloadsally-ac8374fd17e30fca9a7773a2a6f690a7ea4d2ec9.tar.gz
sally-ac8374fd17e30fca9a7773a2a6f690a7ea4d2ec9.tar.zst
sally-ac8374fd17e30fca9a7773a2a6f690a7ea4d2ec9.zip
Rework as HTTP server (#15)
Diffstat (limited to 'templates')
-rw-r--r--templates/index.tpl10
-rw-r--r--templates/package.tpl11
2 files changed, 0 insertions, 21 deletions
diff --git a/templates/index.tpl b/templates/index.tpl
deleted file mode 100644
index bfe01fb..0000000
--- a/templates/index.tpl
+++ /dev/null
@@ -1,10 +0,0 @@
-<!DOCTYPE html>
-<html>
- <body>
- <ul>
- {{ range $key, $value := .Packages }}
- <li>{{ $key }} - {{ $value.Repo }}</li>
- {{ end }}
- </ul>
- </body>
-</html>
diff --git a/templates/package.tpl b/templates/package.tpl
deleted file mode 100644
index 38deaf3..0000000
--- a/templates/package.tpl
+++ /dev/null
@@ -1,11 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta name="go-import" content="{{ .CanonicalURL }} git https://{{ .Repo }}">
- <meta name="go-source" content="{{ .CanonicalURL }} https://{{ .Repo }} https://{{ .Repo }}/tree/master{/dir} https://{{ .Repo }}/tree/master{/dir}/{file}#L{line}">
- <meta http-equiv="refresh" content="0; url={{ .GodocURL }}">
- </head>
- <body>
- Nothing to see here. Please <a href="{{ .GodocURL }}">move along</a>.
- </body>
-</html>