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 @@
{{ $context.Params.author }}
-
{{ i18n "Published on" }}:{{ string $context.Params.createTime }}
+ {{ i18n "Published on" }}:{{ string $context.Params.createTime }}    + + {{i18n "Visitor-count"}} +

{{ $context.Title }}

{{ partial "share.html" $context }} @@ -143,6 +146,8 @@ bindCloseBlog() bindHideMessageBlog() + \ No newline at end of file