Sha256: 4c3de5f81d1049e82150f5d77eb60c14b171c2cdee3437709341b3f7d967dc92

Contents?: true

Size: 1.76 KB

Versions: 13

Compression:

Stored size: 1.76 KB

Contents

{{ define "main" }}
  {{ partial "docs-subnav" . }}

  <div class="container-xxl my-md-4 bd-layout">
    <aside class="bd-sidebar">
      {{ partial "docs-sidebar" . }}
    </aside>

    <main class="bd-main order-1">
      <div class="bd-intro ps-lg-4">
        <div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between">
          <a class="btn btn-sm btn-bd-light mb-2 mb-md-0" href="{{ .Site.Params.repo }}/blob/main/site/content/{{ .Page.File.Path | replaceRE `\\` "/" }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">View on GitHub</a>
          <h1 class="bd-title" id="content">{{ .Title | markdownify }}</h1>
        </div>
        <p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p>
        {{ partial "ads" . }}
      </div>

      {{ if (eq .Page.Params.toc true) }}
        <div class="bd-toc mt-4 mb-5 my-md-0 ps-xl-3 mb-lg-5 text-muted">
          <strong class="d-block h6 my-2 pb-2 border-bottom">On this page</strong>
          {{ .TableOfContents }}
        </div>
      {{ end }}

      <div class="bd-content ps-lg-4">
        {{ if .Page.Params.sections }}
          <div class="row g-3">
            {{ range .Page.Params.sections }}
            <div class="col-md-6">
              <a class="d-block text-decoration-none" href="../{{ urlize .title }}/">
                <strong class="d-block h5 mb-0">{{ .title }}</strong>
                <span class="text-secondary">{{ .description }}</span>
              </a>
            </div>
            {{ end }}
          </div>
        {{ end }}

        {{ .Content }}
      </div>
    </main>
  </div>
{{ end }}
{{ define "footer" }}
  {{ range .Page.Params.extra_js -}}
    <script{{ with .async }} async{{ end }} src="{{ .src }}"></script>
  {{- end -}}
{{ end }}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.18.0 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.17.0 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.16.0 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.15.6 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.15.5 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.15.4 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.15.3 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.15.1.2 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.15.2.pre1 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.15.1.1 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.15.1 vendor/bootstrap/site/layouts/_default/docs.html
card-mod-bootstrap-0.15.0 vendor/bootstrap/site/layouts/_default/docs.html