Files
website/layouts/docs/docsportal_home.html
Tim Bannister 1e436f4587 Revise page header styles
- more compact headers when announcements are showing
- when no announcement showing, top level docs sections
  (eg Concepts, Tasks, Reference) have a heading in the top nav
- when announcement is showing, rely on the breadcrumb trail plus
  page introduction text for each top level section
- switch from plain black docs header to match other sections
2021-10-13 22:47:29 +01:00

27 lines
631 B
HTML

{{ define "main" }}
{{ template "docs-portal-content" . }}
{{ end }}
{{ define "content-id" }}content{{ end }}
{{ define "docs-portal-content" }}
<section id="mainContent">
<div class="launch-content">
<p>{{ .Params.overview | safeHTML }}</p>
<br>
<div class="launch-cards">
{{ $page := (partial "docs/docs-portal-card" .) }}
{{ .Scratch.Set "html" $page }}
{{ $page }}
</div>
</div>
</section>
{{ end }}
{{ define "hero" }}
<section class="header-hero text-white pb-4 light-text ">
{{ if not .Params.notitle }}
<h1>{{ .Title }}</h1>
{{ end }}
</section>
{{ end }}