Skip to content

Commit 82ccad6

Browse files
authored
Merge pull request #24 from nkdAgility/fix-for-trasalted-lists
Enhance guide header layout by adjusting title and subtitle presentation
2 parents 9806362 + 53a9a34 commit 82ccad6

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,15 @@ <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">
85-
<div class="d-flex gap-2">
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>d
89+
<div class="col-12 col-md-4">
90+
<div class="d-flex gap-2 justify-content-md-end">
91+
8692
{{- if ne .Site.Language.Lang "en" }}
8793
<a
8894
href="{{ .Site.Params.githubUrl }}/issues/new?template=translation-error.yml"
@@ -171,6 +177,7 @@ <h4 class="h6 text-muted mb-3 flex-shrink-0 d-none d-md-block">{{ i18n "guide_ta
171177
{{- end }}
172178
</div>
173179
</div>
180+
174181
</div>
175182
{{ if .Date }}
176183
<div class="publish-date">

0 commit comments

Comments
 (0)