aboutsummaryrefslogtreecommitdiff
path: root/layouts/go/single.html
blob: 75cf89f2973e35c33b3d80df5b3e0715589365d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
<div class="container mx-auto my-5">
  <div class="post">
      {{ partial "single/header.html" . }}
      <div class="alert alert-info" role="alert">
        Установка:&nbsp;
        <code>go get -u neonxp.ru/go/{{ .Params.Name }}@latest</code>
        <hr>
        <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" . }}
    </div>
  </div>
{{ end }}