From cb0abe5fd5acd32c8a06d1bbd6e1b4fd17eca748 Mon Sep 17 00:00:00 2001
From: Konv Suu <2583695112@qq.com>
Date: Sun, 6 Aug 2023 10:52:49 +0800
Subject: [PATCH] docs: prev and next buttons only show cn title (#6806)
---
site/src/layouts/PrevAndNext.vue | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/site/src/layouts/PrevAndNext.vue b/site/src/layouts/PrevAndNext.vue
index 409730e90..b9e79fad0 100644
--- a/site/src/layouts/PrevAndNext.vue
+++ b/site/src/layouts/PrevAndNext.vue
@@ -21,8 +21,8 @@
>
- {{ prev.title }}
- {{ prev.subtitle }}
+ {{ prev.subtitle || prev.title }}
+ {{ prev.enTitle || prev.title }}
- {{ next.title }}
- {{ next.subtitle }}
+ {{ next.subtitle || next.title }}
+ {{ next.enTitle || next.title }}