2020-04-15 15:48:16 +02:00
{{ define "main" }}
2020-11-16 09:35:51 +01:00
< section class = "section container-fluid mt-n3 pb-5" >
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" >
2020-04-15 15:48:16 +02:00
< p class = "lead" > {{ .Params.Lead | safeHTML }}< / p >
2020-11-04 08:26:58 +01:00
< a class = "btn btn-primary btn-lg px-4 mb-2" href = "{{ " docs / prologue / introduction / " | absURL } } " role = "button" > Get started< / a >
2020-11-17 09:13:25 +01:00
< p class = "meta" > Open-source MIT Licensed. < a href = "https://github.com/h-enk/doks" > GitHub v{{ .Site.Data.doks.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" }}
<!--
2020-11-16 09:35:51 +01:00
< div class = "d-flex justify-content-start" >
< div class = "bg-dots" > < / div >
< / div >
2020-11-04 08:26:58 +01:00
< section class = "section section-sm" >
< div class = "container" >
2020-11-16 09:35:51 +01:00
< div class = "row justify-content-center text-center mt-n3" >
2020-11-04 08:26:58 +01:00
< div class = "col-lg-5" >
< h2 class = "h4" > Security aware< / h2 >
2020-11-16 09:35:51 +01:00
< 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 >
2020-11-04 08:26:58 +01:00
< / div >
< div class = "col-lg-5" >
< h2 class = "h4" > Fast by default< / h2 >
2020-11-16 09:35:51 +01:00
< p > Get 100 scores on < a href = "https://googlechrome.github.io/lighthouse/viewer/?gist=7731347bb8ce999eff7428a8e763b637" > Google Lighthouse< / a > by default. Doks removes unused css, prefetches links, and lazy loads images.< / p >
2020-11-04 08:26:58 +01: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 >
< / div >
< div class = "row justify-content-center text-center mt-lg-3" >
< div class = "col-lg-5" >
< h2 class = "h4" > Development tools< / h2 >
< p > Code with confidence. Check styles, scripts, and markdown for errors and fix automatically or manually.< / p >
< / div >
< div class = "col-lg-5" >
< h2 class = "h4" > Bootstrap framework< / h2 >
< p > Build robust, flexible, and intuitive websites with Bootstrap. Or use any other front-end framework if you prefer.< / p >
< / div >
< div class = "col-lg-5" >
< h2 class = "h4" > Netlify-ready< / h2 >
< p > Deploy to Netlify with sensible defaults. Easily use Netlify Functions, Netlify Redirects, and Netlify Headers.< / p >
< / div >
< / div >
2020-11-16 09:35:51 +01:00
< div class = "row justify-content-center text-center mt-lg-3" >
< 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 >
< / div >
2020-11-04 08:26:58 +01:00
< / div >
< / section >
-->
{{ end }}
2020-11-16 09:35:51 +01:00
2020-11-04 08:26:58 +01:00
{{ define "sidebar-footer" }}
<!--
2020-11-16 09:35:51 +01:00
< section class = "section container-fluid mt-n5" >
2020-11-04 08:26:58 +01:00
< div class = "row justify-content-center text-center" >
< div class = "col-lg-9" >
< h2 class = "mt-0" > Quick Start< / h2 >
2020-11-16 09:35:51 +01:00
< p > Get your Doks site in 1 min.< / p >
< a class = "btn btn-primary px-3" href = "https://app.netlify.com/start/deploy?repository=https://github.com/h-enk/doks" role = "button" > Deploy to Netlify< / a >
2020-11-04 08:26:58 +01:00
{{- .Content -}}
< / div >
< / div >
< / section >
2020-11-16 09:35:51 +01:00
< div class = "d-flex justify-content-end" >
< div class = "bg-dots bg-dots-md" > < / div >
< / div >
2020-11-04 08:26:58 +01:00
2020-11-16 09:35:51 +01:00
< section class = "section section-sm mt-n3" >
2020-11-04 08:26:58 +01:00
< div class = "container" >
< div class = "row justify-content-center" >
< div class = "col-md-12 col-lg-10 col-xl-8" >
2020-11-16 09:35:51 +01:00
< h2 class = "mt-3 text-center" > Doks Blog< / h2 >
2020-11-04 08:26:58 +01:00
< div class = "card-list" >
{{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") -}}
< div class = "card" >
< div class = "card-body" >
2020-11-16 09:35:51 +01:00
< h3 > < a class = "stretched-link text-body" href = "{{ .Permalink }}" > {{ .Params.title }}< / a > < / h3 >
2020-11-04 08:26:58 +01:00
< p > {{ .Params.lead | safeHTML }}< / p >
{{ partial "main/blog-meta.html" . -}}
< / div >
< / div >
{{ end -}}
< / div >
< / div >
< / div >
< / div >
2020-04-15 15:48:16 +02:00
< / section >
2020-11-04 08:26:58 +01:00
-->
{{ end }}