summaryrefslogtreecommitdiff
path: root/tpl/package.gohtml
diff options
context:
space:
mode:
authorAlexander Kiryukhin <a.kiryukhin@mail.ru>2022-03-24 23:25:02 +0300
committerAlexander Kiryukhin <a.kiryukhin@mail.ru>2022-03-24 23:25:02 +0300
commitcc3ae00bbbe3bd0e04d1821e4bb54a7d8545d0a3 (patch)
treec17e0f623c038f35ff191572717213d6374da75c /tpl/package.gohtml
initial
Diffstat (limited to 'tpl/package.gohtml')
-rw-r--r--tpl/package.gohtml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tpl/package.gohtml b/tpl/package.gohtml
new file mode 100644
index 0000000..4ab4e16
--- /dev/null
+++ b/tpl/package.gohtml
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta name="go-import" content="{{ .Host }}/{{ .Package.Pkg }} {{ .Package.VCS }} {{ .Package.Repo }}">
+ <meta name="go-source" content="{{ .Host }}/{{ .Package.Pkg }} {{ .Package.Repo }} {{ .Package.Repo }}/tree/master{/dir} {{ .Package.Repo }}/tree/master{/dir}/{file}#L{line}">
+ <meta http-equiv="refresh" content="0; url={{ .Doc }}{{ .Host }}/{{ .Package.Pkg }}">
+ <title>{{ .Title }}</title>
+ <link rel="stylesheet" href="/static/styles.css">
+ </head>
+ <body class="Site">
+ <header class="Site-header">
+ <div class="Header">
+ <nav class="Header-nav">
+ <a href="/">
+ {{ .Title }}
+ </a>
+ </nav>
+ </div>
+ </header>
+ <main class="SiteContent SiteContent--default">
+ <article>
+ <h1>{{ .Package.Pkg }}</h1>
+ <p>{{ .Package.Description }}</p>
+ Переход к <a href="{{ .Doc }}{{ .Host }}/{{ .Package.Pkg }}">документации</a>...
+ </article>
+ </main>
+ </body>
+</html>