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
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<header>
|
||||
{{ partial "navbar.html" . }}
|
||||
{{ partial "announcement.html" . }}
|
||||
{{ block "hero" . }}
|
||||
<section class="header-hero text-center text-white font-bold pb-4">
|
||||
<h1>
|
||||
{{ $sectionHeading := .Site.GetPage "section" .Section }}
|
||||
@@ -20,6 +21,8 @@
|
||||
{{ end }}
|
||||
</h1>
|
||||
</section>
|
||||
{{ block "hero-more" . }}{{ end }}
|
||||
{{ end }}
|
||||
</header>
|
||||
<div class="container-fluid td-outer">
|
||||
<div class="td-main">
|
||||
|
||||
Reference in New Issue
Block a user