Skip to content

Commit

Permalink
Fixed the register button language link issue
Browse files Browse the repository at this point in the history
  • Loading branch information
WillemJiang committed Jul 16, 2024
1 parent ab25b29 commit ec8b469
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions themes/apachecon/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ <h1 class="d-none"> CommunityOverCode Asia 2024</h1>
{{ end }}

<div class="home-btn-wrap">
<a
href="#register"
<a href="{{ if eq .Site.Language.Lang "zh" }}/zh/{{end}}#register"
role="button"
class="btn btn-warning btn-lg">
{{ i18n "register" }}
Expand Down

0 comments on commit ec8b469

Please sign in to comment.