Skip to content

Commit baabab8

Browse files
feat: remove post-hero block and some more-hero block
1 parent ed92214 commit baabab8

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

layouts/_default/baseof.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ <h1>{{ block "hero-title" . }}{{ .Params.bigheader | default .Title }}{{ end }}<
2323
{{ block "hero-more" . }}{{ end }}
2424
</div>
2525
</section>
26-
{{ block "post-hero" . }}
27-
</header>
2826
{{ end }}
29-
{{ end }}
27+
</header>
3028
<div class="td-outer">
3129
<main role="main" class="td-main" {{ if (or (ne .FirstSection "case-studies") (not .IsSection) ) }}data-pagefind-body{{ end }}>
3230
{{ block "deprecation_warning" . }}

layouts/blog/baseof.html

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
{{ end }}
2121
{{ if .IsSection }}</h1>{{ else }}</h2>{{ end }}
2222
</section>
23-
{{ block "hero-more" . }}{{ end }}
2423
{{ end }}
2524
</header>
2625
<div class="container-fluid td-outer">

layouts/docs/baseof.html

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
{{ block "hero" . }}
1212
<section class="header-hero filler">
1313
</section>
14-
{{ block "hero-more" . }}{{ end }}
1514
{{ end }}
1615
</header>
1716
<div class="container-fluid td-outer">

layouts/docs/single.html

-7
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,3 @@
1010
{{ partial "docs/api-reference-links" . }}
1111
</div>
1212
{{ end }}
13-
{{ define "hero-more" }}
14-
{{ if .IsHome }}
15-
{{ with site.GetPage "section" "docs/tutorials/kubernetes-basics" }}
16-
<a href="{{ .RelPermalink }}" id="quickstartButton" class="button">{{ .LinkTitle }}</a>
17-
{{ end }}
18-
{{ end }}
19-
{{ end }}

0 commit comments

Comments
 (0)