Skip to content

Commit

Permalink
fix: Allow linking to FAQ headers (kedacore#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkerkhove authored Dec 11, 2023
1 parent e0df472 commit 995946f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions layouts/shortcodes/faq20.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $faq20 := site.Data.faq20.qna }}

<h2>General</h2>
<h2 id="general">General</h2>

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

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

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

<h2>Features</h2>
<h2 id="features">Features</h2>

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

<h2>Kubernetes</h2>
<h2 id="kubernetes">Kubernetes</h2>

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

<h2>Community</h2>
<h2 id="community">Community</h2>

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

<h2>Website</h2>
<h2 id="website">Website</h2>

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

<h2>Integrations</h2>
<h2 id="integrations">Integrations</h2>

<h3>Microsoft Azure</h3>

Expand Down

0 comments on commit 995946f

Please sign in to comment.