portails/layouts/index.html

62 lines
2.7 KiB
HTML
Raw Normal View History

2020-04-15 15:48:16 +02:00
{{ define "main" }}
2020-12-03 20:07:54 +01:00
<section class="section container-fluid mt-n3 pb-3">
2020-04-15 15:48:16 +02:00
<div class="row justify-content-center">
2020-11-16 09:35:51 +01:00
<div class="col-lg-12 text-center">
2020-04-15 15:48:16 +02:00
<h1 class="mt-0">{{ .Title }}</h1>
2020-11-16 09:35:51 +01:00
</div>
<div class="col-lg-9 col-xl-8 text-center">
2021-02-01 20:59:32 +01:00
<p class="lead">{{ .Params.lead | safeHTML }}</p>
2022-07-07 12:47:20 +02:00
<a class="btn btn-primary btn-lg px-4 mb-2" href="/docs/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}prologue/introduction/" role="button">{{ i18n "get-started" }}</a>
2021-10-05 11:52:37 +02:00
<p class="meta">Open-source MIT Licensed. <a href="https://github.com/h-enk/doks">GitHub v{{ $data := getJSON "/package.json" }}{{ $data.version }}</a></p>
2020-04-15 15:48:16 +02:00
</div>
</div>
</section>
2020-11-04 08:26:58 +01:00
{{ end }}
{{ define "sidebar-prefooter" }}
2021-09-10 16:38:32 +02:00
{{ if eq $.Site.Language.LanguageName "English" }}
<section class="section section-sm">
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4">Security aware</h2>
<p>Get A+ scores on <a href="https://observatory.mozilla.org/analyze/doks.netlify.app">Mozilla Observatory</a> out of the box. Easily change the default Security Headers to suit your needs.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Fast by default ⚡️</h2>
<p>Get 100 scores on <a href="https://googlechrome.github.io/lighthouse/viewer/?gist=59aafe464a68f8bc30b8e9a636d5b053">Google Lighthouse</a> by default. Doks removes unused css, prefetches links, and lazy loads images.</p>
2021-09-10 16:38:32 +02:00
</div>
<div class="col-lg-5">
<h2 class="h4">SEO-ready</h2>
<p>Use sensible defaults for structured data, open graph, and Twitter cards. Or easily change the SEO settings to your liking.</p>
</div>
2020-12-07 10:48:29 +01:00
</div>
2021-09-10 16:38:32 +02:00
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4">Full text search</h2>
<p>Search your Doks site with FlexSearch. Easily customize index settings and search options to your liking.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Page layouts</h2>
<p>Build pages with a landing page, blog, or documentation layout. Add custom sections and components to suit your needs.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Dark mode</h2>
<p>Switch to a low-light UI with the click of a button. Change colors with variables to match your branding.</p>
</div>
2020-12-07 10:48:29 +01:00
</div>
</div>
2021-09-10 16:38:32 +02:00
</section>
{{ end }}
2020-11-04 08:26:58 +01:00
{{ end }}
{{ define "sidebar-footer" }}
2020-12-03 20:07:54 +01:00
<section class="section section-sm container-fluid">
2020-11-04 08:26:58 +01:00
<div class="row justify-content-center text-center">
<div class="col-lg-9">
{{- .Content -}}
</div>
</div>
</section>
{{ end }}