From 8abef8c3660830b2f8abfbd751e1f346efa4069b Mon Sep 17 00:00:00 2001 From: lruler <1204312199@qq.com> Date: Sun, 26 Sep 2021 11:35:53 +0800 Subject: [PATCH] add view count --- i18n/en.yaml | 4 +++- i18n/zh.yaml | 2 ++ layouts/partials/content.html | 7 ++++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/i18n/en.yaml b/i18n/en.yaml index 87852fb61..610ebeab0 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -133,4 +133,6 @@ - id: 'No' translation: 'No' - id: Msg-Thank - translation: Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement. \ No newline at end of file + translation: Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement. +- id: Visitor-count + translation: 'The number of views: ' \ No newline at end of file diff --git a/i18n/zh.yaml b/i18n/zh.yaml index d4704e181..b12de654c 100644 --- a/i18n/zh.yaml +++ b/i18n/zh.yaml @@ -138,3 +138,5 @@ translation: 否 - id: Msg-Thank translation: 感谢您的反馈。如果您有关于如何使用 KubeSphere 的具体问题,请在 Slack 上提问。如果您想报告问题或提出改进建议,请在 GitHub 存储库中打开问题。 +- id: Visitor-count + translation: 本文总阅读量: \ No newline at end of file diff --git a/layouts/partials/content.html b/layouts/partials/content.html index e307bc9e1..2fecd61f2 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -34,7 +34,10 @@