We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86ba156 commit 4119273Copy full SHA for 4119273
assets/_custom.scss
@@ -5,3 +5,12 @@
5
::placeholder {
6
color: var(--gray-500); // Placeholder text is a bit hard to read by default
7
}
8
+
9
+.subheading {
10
+ color: var(--gray-500);
11
+ margin-bottom: 0.5em;
12
+}
13
14
+.subheading + h1 {
15
+ margin-top: 0;
16
layouts/_partials/docs/inject/content-before.html
@@ -1,5 +1,10 @@
1
-{{ if .Title }}
2
-<h1>
3
- {{ .Title }}
4
-</h1>
+{{ if and .Parent .Title }}
+<h3 class="subheading">{{ .Parent.LinkTitle }}</h3>
+ <h1>
+ {{ .Title }}
+ </h1>
+{{ else if .Title }}
{{ end }}
0 commit comments