-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
113 changed files
with
398 additions
and
89 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{{ define "main" }} | ||
<div class="row justify-content-center"> | ||
<div class="col-md-12 col-lg-10 col-xl-8"> | ||
<article> | ||
<h1 class="text-center">{{ if eq .CurrentSection .FirstSection }}{{ default (.Section | humanize) .Title }}{{ else }}{{ .Title }}{{ end }}</h1> | ||
<div class="text-center">{{ .Content }}</div> | ||
<div class="card-list"> | ||
{{ $currentSection := .CurrentSection }} | ||
{{ range where .Site.RegularPages.ByWeight "Section" .Section }} | ||
{{ if in (.RelPermalink | string) $currentSection.RelPermalink }} | ||
<div class="card my-3"> | ||
<div class="card-body"> | ||
<a class="stretched-link" href="{{ .RelPermalink }}">{{ .Params.title | title }}</a> | ||
<div>{{ .Params.description }}</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
|
||
{{ with $currentSection }} | ||
{{ range .Sections.ByWeight }} | ||
<div class="card my-3"> | ||
<div class="card-body"> | ||
<a class="stretched-link" href="{{ .RelPermalink }}">{{ .Params.title }}</a> | ||
<div>{{ .Params.description }}</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
</article> | ||
</div> | ||
</div> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{{ define "main" }} | ||
<div class="row flex-xl-nowrap"> | ||
{{ if (in site.Params.doks.sectionNav .Section) -}} | ||
<div class="col-lg-5 col-xl-4 docs-sidebar{{ if ne site.Params.doks.navbarSticky true }} docs-sidebar-top{{ end }}{{ if site.Params.doks.headerBar }} docs-sidebar-offset{{ end }} d-none d-lg-block"> | ||
<!-- {{ partial "sidebar/section-menu.html" . }}--> | ||
</div> | ||
{{ end -}} | ||
|
||
{{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }} | ||
<div class="col container-fw d-lg-flex flex-lg-row justify-content-center mx-auto"> | ||
{{ end }} | ||
{{ if ne .Params.toc false -}} | ||
<nav class="docs-toc{{ if ne site.Params.doks.navbarSticky true }} docs-toc-top{{ end }}{{ if site.Params.doks.headerBar }} docs-toc-offset{{ end }} d-none d-xl-block col-xl-3" aria-label="Secondary navigation"> | ||
<!-- {{ partial "sidebar/docs-toc-desktop.html" . }}--> | ||
</nav> | ||
{{ end -}} | ||
{{ if .Params.toc -}} | ||
<main class="docs-content col-lg-11 col-xl-9"> | ||
{{ else -}} | ||
<main class="docs-content col-lg-11 col-xl-9 mx-xl-auto"> | ||
{{ end -}} | ||
{{ if site.Params.doks.breadcrumbTrail -}} | ||
<!-- https://discourse.gohugo.io/t/breadcrumb-navigation-for-highly-nested-content/27359/6 --> | ||
<nav aria-label="breadcrumb"> | ||
<ol class="breadcrumb"> | ||
{{ partial "main/breadcrumb" . -}} | ||
<li class="breadcrumb-item active" aria-current="page">{{ .Title }}</li> | ||
</ol> | ||
</nav> | ||
{{ end }} | ||
<h1>{{ .Title }}</h1> | ||
<!-- <p class="lead">{{ .Params.lead | safeHTML }}</p> --> | ||
{{ if ne .Params.toc false -}} | ||
<nav class="toc-mobile d-xl-none" aria-label="Quaternary navigation"> | ||
<!-- {{ partial "sidebar/docs-toc-mobile.html" . }}--> | ||
</nav> | ||
{{ end -}} | ||
|
||
{{ if site.Params.doks.headlineHash -}} | ||
{{ partial "main/headline-hash" .Content }} | ||
{{ else -}} | ||
{{ .Content }} | ||
{{ end -}} | ||
<div class="page-footer-meta d-flex flex-column flex-md-row justify-content-between"> | ||
{{ if site.Params.doks.lastMod -}} | ||
<!-- {{ partial "main/last-modified.html" . }}--> | ||
{{ end -}} | ||
{{ if site.Params.doks.editPage -}} | ||
<!-- {{ partial "main/edit-page.html" . }}--> | ||
{{ end -}} | ||
</div> | ||
<!-- {{ partial "main/docs-navigation.html" . }}--> | ||
<!-- | ||
{{ if not .Site.Params.options.collapsibleSidebar -}} | ||
{{ partial "main/docs-navigation.html" . }} | ||
{{ else -}} | ||
<div class="my-n3"></div> | ||
{{ end -}} | ||
--> | ||
</main> | ||
{{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }} | ||
</div> | ||
{{ end }} | ||
</div> | ||
{{ end }} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{{ define "main" }} | ||
<section class="section container-fluid mt-n3 pb-3"> | ||
<div class="row justify-content-center"> | ||
<div class="col-lg-12 text-center"> | ||
<h1 class="mt-0">{{ .Title }}</h1> | ||
</div> | ||
<div class="col-lg-9 col-xl-8 text-center" style="margin-bottom:16px"> | ||
<p class="lead">{{ .Params.lead | safeHTML }}</p> | ||
</div> | ||
<div class="row justify-content-center"> | ||
{{- $showFlexSearch := .Site.Params.options.flexSearch }} | ||
{{- if $showFlexSearch }} | ||
{{- if and (isset .Site.Params.options "searchsectionsshow") (not (eq .Site.Params.options.searchSectionsShow "ALL")) }} | ||
{{- $showFlexSearch = or (eq (len .Site.Params.options.searchSectionsShow) 0) (in .Site.Params.options.searchSectionsShow .Section) (and .IsHome (in .Site.Params.options.searchSectionsShow "HomePage")) }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{ if $showFlexSearch -}} | ||
<form class="doks-search position-relative flex-grow-1 me-lg-2"> | ||
<input id="search" class="form-control is-search" type="search" placeholder="{{ i18n "search-text" }}" aria-label="{{ i18n "search-text" }}" autocomplete="off"> | ||
<div id="suggestions" class="shadow bg-white rounded d-none" | ||
style="right: -1.5rem;"></div> | ||
</form> | ||
<!-- <hr class="text-black-50 my-4 d-lg-none">--> | ||
|
||
{{ end -}} | ||
</div> | ||
|
||
<div class="col-lg-9 col-xl-8 text-center" style="margin-top:24px"> | ||
<p>or</p><a class="btn btn-link btn-lg px-4 mb-2" href="/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}getting-started/" role="button">Get Started with Planter</a> | ||
<br/><a class="btn btn-link btn-lg px-4 mb-2" href="/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}docs/" role="button">View All Docs</a> | ||
</div> | ||
|
||
</div> | ||
</section> | ||
{{ end }} | ||
|
||
{{ define "sidebar-prefooter" }} | ||
{{ 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">Think of an awesome feature?</h2> | ||
<p>We're always improving the app! Use the <a href="https://planter.garden/requests">feature requests tool</a> to request new features or improvements. Up-vote existing features requests to get them added sooner!</p> | ||
</div> | ||
<div class="col-lg-5"> | ||
<h2 class="h4">Notice a bug? 🐛</h2> | ||
<p>Help us squash it by using the “Report a bug” option in <a href="https://planter.garden/settings">Settings</a>.</p> | ||
</div> | ||
<div class="col-lg-5"> | ||
<h2 class="h4">Missing a plant? 🌱️</h2> | ||
<p>Use the <a href="https://planter.garden/requests">plant requests tool</a> to request new plants or varieties. Up-vote existing plant requests to get them added sooner!</p> | ||
</div> | ||
</div> | ||
<!-- <div class="row justify-content-center text-center">--> | ||
<!-- <div class="col-lg-5">--> | ||
<!-- <h2 class="h4">Think of an awesome feature?</h2>--> | ||
<!-- <p>We're always improving the app! Use the <a href="https://planter.garden/requests">feature requests tool</a> to request new features or improvements. Up-vote existing features requests to get them added sooner!</p>--> | ||
<!-- </div>--> | ||
<!-- <div class="col-lg-5">--> | ||
<!-- <h2 class="h4">Notice a bug? 🐛</h2>--> | ||
<!-- <p>Help us squash it by using the “Report a bug” option in <a href="https://planter.garden/settings">Settings</a>.</p>--> | ||
<!-- </div>--> | ||
<!-- <div class="col-lg-5">--> | ||
<!-- <h2 class="h4">Missing a plant? 🌱️</h2>--> | ||
<!-- <p>Use the <a href="https://planter.garden/requests">plant requests tool</a> to request new plants or varieties. Up-vote existing plant requests to get them added sooner!</p>--> | ||
<!-- </div>--> | ||
<!-- </div>--> | ||
</div> | ||
</section> | ||
{{ end }} | ||
{{ end }} | ||
|
||
{{ define "sidebar-footer" }} | ||
<section class="section section-sm container-fluid"> | ||
<div class="row justify-content-center text-center"> | ||
<div class="col-lg-9"> | ||
{{- .Content -}} | ||
</div> | ||
</div> | ||
</section> | ||
{{ end }} |
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<footer class="footer text-muted"> | ||
<div class="container-{{ if .Site.Params.options.fullWidth }}fluid{{ else }}xxl{{ end }}"> | ||
<div class="row"> | ||
<div class="col-lg-8 order-last order-lg-first"> | ||
<ul class="list-inline"> | ||
<li class="list-inline-item">© {{ now.Year }} {{site.Params.copyright | markdownify}} {{ if not (eq .Site.Params.footer "") }} | {{ .Site.Params.footer | safeHTML | markdownify}}{{ end }}</li> | ||
</ul> | ||
</div> | ||
<div class="col-lg-8 order-first order-lg-last text-lg-end"> | ||
<ul class="list-inline"> | ||
{{ range .Site.Menus.footer -}} | ||
<li class="list-inline-item"><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> | ||
{{ end -}} | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> |
Oops, something went wrong.