Skip to content

Commit d27de77

Browse files
committed
Enhance guide header layout by adjusting title and subtitle presentation
1 parent aa52e6e commit d27de77

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

module/layouts/_partials/components/guide/render-guide.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,13 @@ <h4 class="h6 text-muted mb-3 flex-shrink-0 d-none d-md-block">{{ i18n "guide_ta
8080
{{- /* Header with title, date, and download buttons */ -}}
8181
<header class="content-header">
8282
<div class="row mb-2">
83-
<div class="col-12 col-md-6"><h2 class="content-title mb-0">{{ .Title }}</h2></div>
84-
<div class="col-12 col-md-6 text-end">
83+
<div class="col-12 col-md-8">
84+
<h1 class="content-title mb-0">{{ .Title }}</h1>
85+
{{- if .Params.subtitle }}
86+
<p class="content-subtitle text-muted fs-5 mt-2">{{ .Params.subtitle }}</p>
87+
{{- end }}
88+
</div>
89+
<div class="col-12 col-md-4 text-end">
8590
<div class="d-flex gap-2">
8691
{{- if ne .Site.Language.Lang "en" }}
8792
<a
@@ -171,6 +176,7 @@ <h4 class="h6 text-muted mb-3 flex-shrink-0 d-none d-md-block">{{ i18n "guide_ta
171176
{{- end }}
172177
</div>
173178
</div>
179+
174180
</div>
175181
{{ if .Date }}
176182
<div class="publish-date">

0 commit comments

Comments
 (0)