From 8a8a4e876a678038a6b9c158c4a490f4ce317123 Mon Sep 17 00:00:00 2001 From: dashuai Date: Fri, 2 Aug 2024 14:40:54 +0800 Subject: [PATCH] Hide registration button and baige registration forms (#309) * Revert "fix: add /zh/ prefix to navigation register menu (#306)" This reverts commit ae465f047eaf489c3a153dfb206b35a7ab8eb47d. * fix: hided register btn * fix: hided baige register form --- themes/apachecon/layouts/index.html | 45 ++-------------------- themes/apachecon/layouts/partials/nav.html | 6 +-- 2 files changed, 6 insertions(+), 45 deletions(-) diff --git a/themes/apachecon/layouts/index.html b/themes/apachecon/layouts/index.html index cb898f25..4f613d4d 100644 --- a/themes/apachecon/layouts/index.html +++ b/themes/apachecon/layouts/index.html @@ -19,13 +19,13 @@

CommunityOverCode Asia 2024

Community Over Code Asia 2024 {{ end }} -
+
@@ -51,46 +51,7 @@

{{.Title}}

-
-
-

{{ i18n "register" }}

-
- {{ if eq .Site.Language.Lang "zh" }} - - - {{else}} - - - {{end}} -
-
-
+
diff --git a/themes/apachecon/layouts/partials/nav.html b/themes/apachecon/layouts/partials/nav.html index b78f8532..83481c2a 100644 --- a/themes/apachecon/layouts/partials/nav.html +++ b/themes/apachecon/layouts/partials/nav.html @@ -42,11 +42,11 @@ {{ end}} {{ end }} -
- +