diff --git a/i18n/en.toml b/i18n/en.toml index 0f1e099cd7cce9279c2015594b2156df2804dc86..61adfccb2e32b5872108eb8776100ed0b9a02da7 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -44,7 +44,11 @@ other ="https://dw.pcl.ac.cn/dwmain/main/" [main_apply_sponsore] other = " " +[main_blog_pageview] +other = " " +[main_blog_pageview_units] +other = " viewed" [main_cards_title] diff --git a/i18n/zh.toml b/i18n/zh.toml index add71cb7f6c07bfed5beb3c35dfa33be996cad25..34ddf40a5388d1428c10a746f7bf168fae7efc53 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -23,6 +23,12 @@ other = "测试资源申请" [main_postablog_source] other = "写博客" +[main_blog_pageview] +other = "总浏览量" + +[main_blog_pageview_units] +other = "次" + [main_apply_description] other= "如果缺乏测试设备,可以尝试在此申请。" diff --git a/themes/project/i18n/en.yaml b/themes/project/i18n/en.yaml index c825c8993d070560c5e6f042e4cc264c7fff4bb3..7cc4a14f67e92f734ae6db329d74be391d637ef0 100644 --- a/themes/project/i18n/en.yaml +++ b/themes/project/i18n/en.yaml @@ -50,7 +50,7 @@ translation: "View All" id: archivesTitle - translation: "归档" + translation: "Archives" - id: readMore translation: "Read more" diff --git a/themes/project/layouts/blog/single.html b/themes/project/layouts/blog/single.html index 43d028fbac07b101eee21da886dab15d9a19bf7e..8d24bef78ef4e9878825302a8e5ec27baf55db45 100644 --- a/themes/project/layouts/blog/single.html +++ b/themes/project/layouts/blog/single.html @@ -21,8 +21,14 @@
{{ if .Params.author }}{{ .Params.author }} | - {{ end }}{{ .Date.Format .Site.Params.date_format }}
+{{ if .Params.author }}{{ .Params.author }} |
+ {{ end }}{{ .Date.Format .Site.Params.date_format }}
+
+
+ {{i18n "main_blog_pageview"}}{{i18n "main_blog_pageview_units"}}
+
+