Skip to content

Commit 995946f

Browse files
authored
fix: Allow linking to FAQ headers (#1273)
1 parent e0df472 commit 995946f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

layouts/shortcodes/faq20.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ $faq20 := site.Data.faq20.qna }}
22

3-
<h2>General</h2>
3+
<h2 id="general">General</h2>
44

55
{{ range where $faq20 ".type" "==" "General" }}
66
{{ $question := .q | markdownify }}
@@ -20,7 +20,7 @@ <h2>General</h2>
2020
</div>
2121
{{ end }}
2222

23-
<h2>Best Practices</h2>
23+
<h2 id="best-practices">Best Practices</h2>
2424

2525
{{ range where $faq20 ".type" "==" "Best Practices" }}
2626
{{ $question := .q | markdownify }}
@@ -40,7 +40,7 @@ <h2>Best Practices</h2>
4040
</div>
4141
{{ end }}
4242

43-
<h2>Features</h2>
43+
<h2 id="features">Features</h2>
4444

4545
{{ range where $faq20 ".type" "==" "Features" }}
4646
{{ $question := .q | markdownify }}
@@ -60,7 +60,7 @@ <h2>Features</h2>
6060
</div>
6161
{{ end }}
6262

63-
<h2>Kubernetes</h2>
63+
<h2 id="kubernetes">Kubernetes</h2>
6464

6565
{{ range where $faq20 ".type" "==" "Kubernetes" }}
6666
{{ $question := .q | markdownify }}
@@ -80,7 +80,7 @@ <h2>Kubernetes</h2>
8080
</div>
8181
{{ end }}
8282

83-
<h2>Community</h2>
83+
<h2 id="community">Community</h2>
8484

8585
{{ range where $faq20 ".type" "==" "Community" }}
8686
{{ $question := .q | markdownify }}
@@ -100,7 +100,7 @@ <h2>Community</h2>
100100
</div>
101101
{{ end }}
102102

103-
<h2>Website</h2>
103+
<h2 id="website">Website</h2>
104104

105105
{{ range where $faq20 ".type" "==" "Website" }}
106106
{{ $question := .q | markdownify }}
@@ -120,7 +120,7 @@ <h2>Website</h2>
120120
</div>
121121
{{ end }}
122122

123-
<h2>Integrations</h2>
123+
<h2 id="integrations">Integrations</h2>
124124

125125
<h3>Microsoft Azure</h3>
126126

0 commit comments

Comments
 (0)