Skip to content

Commit

Permalink
fixing link version bug (kedacore#184)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Hollan <[email protected]>
  • Loading branch information
jeffhollan authored May 26, 2020
1 parent abb5ef0 commit 189f313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pre = "fas fa-project-diagram"
weight = 3

[[menu.buttons]]
url = "/scalers"
url = "/docs/scalers"
name = "Scalers"
pre = "fas fa-ruler-vertical"
weight = 4
Expand Down Expand Up @@ -169,7 +169,7 @@ parent = "docs"
weight = 5

[[menu.main]]
url = "/blog/"
url = "/blog"
name = "Blog"
weight = 2

Expand Down
1 change: 1 addition & 0 deletions layouts/partials/home/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
{{ $url := "" }}
{{ if (hasPrefix .URL "/docs") }}
{{ $url = replaceRE "/docs" (printf "/docs/%s" $docsL) .URL }}
{{ else }}
{{ $url = .URL }}
{{ end }}
<a class="button is-black is-inverted has-text-weight-bold" href="{{ $url }}">
Expand Down

0 comments on commit 189f313

Please sign in to comment.