Skip to content

Commit

Permalink
add anchor link and href to pricing title
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmay committed Sep 7, 2024
1 parent 926019d commit 132ac2e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/themes/odh-fbe/layouts/services/single/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@
{{ end }}

{{ if isset .Params "show_table" }}
{{ partial "title.html" site.Data.services.pricing }}
{{ partial "table-comparison.html" site.Data.services.pricing}}
{{ $anchor := "pricing" }}
<h2 id="{{ $anchor }}">
<a href="#{{ $anchor }}">
{{ partial "title.html" site.Data.services.pricing }}
</a>
</h2>
{{ partial "table-comparison.html" site.Data.services.pricing }}
{{ end }}

{{ end }}
{{ end }}

0 comments on commit 132ac2e

Please sign in to comment.