Skip to content

Commit

Permalink
Use relative link on index
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans5958 committed May 22, 2021
1 parent dc625d2 commit 15868af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ <h3>{{ T "IndexPage.Features.OSHeading" }}</h3>
<h2 class="text-center">{{ T "IndexPage.Highlights.Heading" }}</h2>
<p class="text-center mb-3">
{{- .Scratch.Add "open_tag_1" "<a href='" }}
{{- .Scratch.Add "open_tag_1" ( "/addons" | absLangURL ) }}
{{- .Scratch.Add "open_tag_1" ( "/addons" | relLangURL ) }}
{{- .Scratch.Add "open_tag_1" "' class='white-underline'>" }}
{{- T "IndexPage.Highlights.Paragraph" ( dict "OpenTag1" ( .Scratch.Get "open_tag_1" ) "CloseTag1" "</a>" ) | safeHTML -}}
</p>
Expand Down

0 comments on commit 15868af

Please sign in to comment.