Skip to content

Commit

Permalink
#489: use Rel or Permalink depending on if site is multihost
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-shpak committed Oct 2, 2024
1 parent 3166253 commit a424a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/docs/languages.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<ul>
{{ range .Site.Languages }}{{ with index $translations .Lang }}
<li>
<a href="{{ .Permalink }}">
<a href="{{ cond hugo.IsMultihost .Permalink .RelPermalink }}">
{{ .Language.LanguageName }}
</a>
</li>
Expand Down

0 comments on commit a424a06

Please sign in to comment.