Remove hero header from documentation section

This commit is contained in:
Tim Bannister
2020-06-24 21:26:10 +01:00
parent 7b2d09adca
commit c7ee5d798c
6 changed files with 33 additions and 11 deletions
+2 -9
View File
@@ -4,18 +4,11 @@
{{ partial "head.html" . }}
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
</head>
<body class="td-{{ .Kind }}">
<body class="td-{{ .Kind }} td-documentation">
<header>
{{ partial "navbar.html" . }}
{{ partial "announcement.html" . }}
<section class="header-hero text-center text-white font-bold pb-4">
<h1>
{{ $sectionHeading := .Site.GetPage "section" .Section }}
{{ with $sectionHeading }}
{{ .Title }}
{{ end }}
</h1>
</section>
<div class="header-filler"></div>
</header>
<div class="container-fluid td-outer">
<div class="td-main">