aboutsummaryrefslogtreecommitdiff
path: root/layouts/go
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/go')
-rw-r--r--layouts/go/single.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/go/single.html b/layouts/go/single.html
index 120c01d..a1c2407 100644
--- a/layouts/go/single.html
+++ b/layouts/go/single.html
@@ -2,9 +2,10 @@
<div class="container mx-auto my-5">
<div class="post">
{{ partial "single/header.html" . }}
- <div>
- Установка:
- <pre>go get -u neonxp.ru/go/{{ .Params.Name }}@latest</pre>
+ <div class="alert alert-info" role="alert">
+ <div>
+ <a class="btn btn-primary" href="https://pkg.go.dev/neonxp.ru/go/{{ .Params.Name }}">{{ partial "icon.html" "golang" }} Документация</a>
+ </div>
</div>
<div class="e-content">{{ .Content }}</div>
{{ partial "single/footer.html" . }}