aboutsummaryrefslogtreecommitdiff
path: root/pkg/redirector/template.tpl
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2022-06-19 13:31:49 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2022-06-19 13:40:39 +0100
commit41d23c22df853b0bdf35e2d0988c8d4c4281d42f (patch)
tree48ddc49039d6ceded97914374171157515b004be /pkg/redirector/template.tpl
parent21456154ef3172490cef72a3b69bf59bb9795e43 (diff)
Move redirection logic to a separate packagev0.4.0
Also, add an optional ‘-c’ flag to pass the path to a configuration file that can be used to specify several matching patterns and replacements.
Diffstat (limited to 'pkg/redirector/template.tpl')
-rw-r--r--pkg/redirector/template.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/redirector/template.tpl b/pkg/redirector/template.tpl
new file mode 100644
index 0000000..422024a
--- /dev/null
+++ b/pkg/redirector/template.tpl
@@ -0,0 +1,3 @@
+<!doctype html>
+<meta name="go-import" content="{{.Package}} {{.VCS}} {{.Repository}}">
+<title>go-import-redirect</title>