Skip to content

Commit

Permalink
fix: baseurl
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Meier <ben.meier@humanitec.com>
  • Loading branch information
astromechza committed Jul 10, 2024
1 parent e3572cd commit 12cecb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="REFRESH" content="0;url=/docs">
</head>
<body>
<p>This page has moved <a href="https://docs.score.dev/docs/">here</a>.
<p>This page has moved <a href="{{ .Site.BaseURL }}/docs/">here</a>.
</p>
</body>

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link
rel="{{ .Rel }}"
type="{{ .MediaType.Type }}"
href="https://docs.score.dev/docs/"
href="{{ $.Site.BaseURL }}/docs/"
/>
{{ end -}} {{ $outputFormat := partial "outputformat.html" . -}} {{ if and
hugo.IsProduction (ne $outputFormat "print") -}}
Expand Down

0 comments on commit 12cecb0

Please sign in to comment.