Skip to content

Commit 5d50c69

Browse files
committed
feat: append the hb-content into the content class list
1 parent 57e10db commit 5d50c69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

layouts/partials/hb/modules/docs/doc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ partial "hugopress/functions/render-hooks" (dict "Page" . "Name" "hb-docs-doc-content-begin") }}
22
{{- $attributes := partial "hugopress/functions/render-attributes" (dict "Page" . "Name" "hb-docs-doc-content") }}
3-
<div class="hb-docs-doc-content hb-module"{{ with $attributes }} {{ . | safeHTMLAttr }}{{ end }}>
3+
<div class="hb-docs-doc-content hb-content hb-module"{{ with $attributes }} {{ . | safeHTMLAttr }}{{ end }}>
44
{{ .Content }}
55
</div>
66
{{ partial "hugopress/functions/render-hooks" (dict "Page" . "Name" "hb-docs-doc-content-end") }}

layouts/partials/hb/modules/docs/section.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ <h1 class="hb-docs-doc-title mb-0">{{ .Title }}</h1>
55
{{- end }}
66
</div>
77
{{ partial "hugopress/functions/render-hooks" (dict "Page" . "Name" "hb-docs-doc-content-begin") }}
8-
<div class="hb-docs-doc-content hb-module">
8+
<div class="hb-docs-doc-content hb-content hb-module">
99
{{ .Content }}
1010
{{- if .Pages }}
1111
<h2 class="mb-3">{{ i18n "in_this_section" }}</h2>

0 commit comments

Comments
 (0)