File tree Expand file tree Collapse file tree
layouts/partials/hb/modules/docs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ <h1 class="hb-docs-doc-title mb-3">{{ .Title }}</h1>
77 {{ .Content }}
88 {{- if .Pages }}
99 < h2 class ="mb-3 "> {{ i18n "in_this_section" }}</ h2 >
10- < ul class ="list-unstyled mb-4 ">
10+ < ul class ="list-unstyled mb-5 border-top pt-3 ">
1111 {{ template "walk-docs-section-tree" . }}
1212 </ ul >
1313 {{- end }}
@@ -20,15 +20,21 @@ <h2 class="mb-3">{{ i18n "in_this_section" }}</h2>
2020 {{- $pages := union $weighted (sort .Pages "Title") }}
2121 {{- range $pages }}
2222 {{- if .IsSection }}
23- < li class ="mb-2 ">
24- < a href ="{{ .RelPermalink }} "> {{ .Title }}</ a >
25- < ul class ="list-unstyled ps-4 mt-2 ">
23+ < li class ="mb-4 ">
24+ < a class ="fs-5 text-decoration-none " href ="{{ .RelPermalink }} ">
25+ {{- .Title -}}
26+ </ a >
27+ < div class ="mt-1 "> {{- default .Summary .Description -}}</ div >
28+ < ul class ="list-unstyled ps-4 pt-3 mt-2 border-top ">
2629 {{ template "walk-docs-section-tree" . }}
2730 </ ul >
2831 </ li >
2932 {{- else }}
30- < li class ="mb-2 ">
31- < a href ="{{ .RelPermalink }} "> {{ .Title }}</ a >
33+ < li class ="mb-4 ">
34+ < a class ="fs-5 text-decoration-none " href ="{{ .RelPermalink }} ">
35+ {{- .Title -}}
36+ </ a >
37+ < div class ="mt-1 "> {{- default .Summary .Description -}}</ div >
3238 </ li >
3339 {{- end }}
3440 {{- end }}
You can’t perform that action at this time.
0 commit comments