From ac4a08abd6b74cbb3b9c5428205b0dc725d4c286 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Fri, 26 Jul 2024 03:00:48 +0900 Subject: [PATCH] update: layouts/blog fix: using T shortcode Update layouts/blog/list.html Co-authored-by: Tim Bannister --- data/i18n/en/en.toml | 2 ++ layouts/blog/content.html | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 layouts/blog/content.html diff --git a/data/i18n/en/en.toml b/data/i18n/en/en.toml index b16e8b6e04..738d32fd25 100644 --- a/data/i18n/en/en.toml +++ b/data/i18n/en/en.toml @@ -587,6 +587,8 @@ other = """

Items on this page refer to third party products or projects that [thirdparty_message_vendor] other = """Items on this page refer to vendors external to Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. To add a vendor, product or project to this list, read the content guide before submitting a change. More information.""" +[translated_by] +other = "Translated By" [ui_search_placeholder] other = "Search this site" diff --git a/layouts/blog/content.html b/layouts/blog/content.html new file mode 100644 index 0000000000..53b626b1bc --- /dev/null +++ b/layouts/blog/content.html @@ -0,0 +1,23 @@ +

+

{{ .Title }}

+ {{ with .Params.description }}
{{ . | markdownify }}
{{ end }} + + + {{ .Content }} + {{ if (.Site.Params.DisqusShortname) }} +
+ {{ partial "disqus-comment.html" . }} +
+ {{ end }} + + {{ partial "pager.html" . }} +