File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -680,6 +680,11 @@ main.content {
680
680
}
681
681
}
682
682
683
+ .td-blog .header-hero h1 , .td-blog .header-hero h2 {
684
+ font-size : 2.25rem ; // match rest of site, even if it is actually h2
685
+ margin-bottom : 20px ;
686
+ }
687
+
683
688
/* CASE-STUDIES */
684
689
685
690
// Many of the case studies have small variations in markup and styles;
@@ -819,7 +824,8 @@ body.td-documentation {
819
824
}
820
825
}
821
826
822
- #announcement + .header-hero.filler {
827
+ /* don't display the hero header for some pages when there is a banner active */
828
+ #announcement + .header-hero.filler , .td-page.td-blog #announcement + .header-hero {
823
829
display : none ;
824
830
}
825
831
Original file line number Diff line number Diff line change 13
13
{{ partial "announcement.html" . }}
14
14
{{ block "hero" . }}
15
15
< section class ="header-hero text-center text-white font-bold pb-4 ">
16
- < h1 >
16
+ {{ if .IsSection }} < h1 > {{ else }} < h2 > {{ end }}
17
17
{{ $sectionHeading := .Site.GetPage "section" .Section }}
18
18
{{ with $sectionHeading }}
19
19
{{ .Title }}
20
20
{{ end }}
21
- </ h1 >
21
+ {{ if .IsSection }} </ h1 > {{ else }} </ h2 > {{ end }}
22
22
</ section >
23
23
{{ block "hero-more" . }}{{ end }}
24
24
{{ end }}
You can’t perform that action at this time.
0 commit comments