aboutsummaryrefslogtreecommitdiff
path: root/layouts/go/single.html
blob: 3b97a36931779c6aee72d504d064d50fb6473a21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{{ define "main" }}
<div class="container">
  <div class="row">
      <div class="col-xs-12 col-sm-12 col-md-4 sidebar">
          <h1 class="post-title fw-semibold">&larr;<a href="{{.Page.FirstSection.RelPermalink}}">{{.Page.FirstSection.Title}}</a></h1>
          {{ if .Page.TableOfContents }}
            <h2 class="fw-semibold">Содержание</h2>
            {{ .Page.TableOfContents }}
          {{ end }}
      </div>
      <div class="col-xs-12 col-sm-12 col-md-8 content">
  <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" target="_blank" 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>
  </div>
  </div>
  </div>
{{ end }}