github.com/esnet/gdg@v0.6.1-0.20240412190737-6b6eba9c14d8/website/layouts/index.html (about)

     1  {{ define "main" }}
     2  <section class="section container-fluid mt-n3 pb-3">
     3    <div class="row justify-content-center">
     4      <div class="col-lg-12 text-center">
     5        <h1>{{ .Title }}</h1>
     6      </div>
     7      <div class="col-lg-9 col-xl-8 text-center">
     8        <p class="lead">{{ .Params.lead | safeHTML }}</p>
     9        <a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/gdg/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}gdg/installation/" role="button">Getting Started</a>
    10        {{ .Content }}
    11      </div>
    12    </div>
    13  </section>
    14  {{ end }}
    15  
    16  {{ define "sidebar-prefooter" }}
    17    {{/*  {{ if site.Params.doks.backgroundDots -}}
    18    <div class="d-flex justify-content-start">
    19      <div class="bg-dots"></div>
    20    </div>
    21    {{ end -}}
    22    {{ if eq $.Site.Language.LanguageName "English" }}
    23    <section class="section section-md section-features">
    24      <div class="container">
    25        <div class="row justify-content-center text-center">
    26          <div class="col-lg-5">
    27            <h2 class="h4">Update content</h2>
    28            <p>Edit <code>content/_index.md</code> to see this page change.</p>
    29          </div>
    30          <div class="col-lg-5">
    31            <h2 class="h4">Add new content</h2>
    32            <p>Add Markdown files to <code>content</code> to create new pages.</p>
    33          </div>
    34          <div class="col-lg-5">
    35            <h2 class="h4">Configure your site</h2>
    36            <p>Edit your config in <code>config/_default/hyas/doks.toml</code>.</p>
    37          </div>
    38          <div class="col-lg-5">
    39            <h2 class="h4">Read the docs</h2>
    40            <p>Learn more in the <a href="https://getdoks.org/">Docs</a>.</p>
    41          </div>
    42        </div>
    43      </div>
    44    </section>
    45    {{ end }}  */}}
    46  {{ end }}
    47  
    48  {{ define "sidebar-footer" }}
    49  {{ if site.Params.doks.sectionFooter -}}
    50  <section class="section section-md container-fluid bg-light">
    51    <div class="row justify-content-center text-center">
    52      <div class="col-lg-7">
    53        <h2 class="mt-2">Start building with Doks today</h2>
    54        <a class="btn btn-primary rounded-pill px-4 my-2" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}prologue/introduction/" role="button">{{ i18n "get-started" }}</a>
    55      </div>
    56    </div>
    57  </section>
    58  {{ end -}}
    59  {{ end }}