mirror of https://github.com/istio/istio.io.git
Add support for an advisory string. (#3518)
This commit is contained in:
parent
d2e5fb1da4
commit
360fcb1713
|
|
@ -174,3 +174,6 @@ other = "This is an auto-generated file, please edit the source in the %s repo."
|
||||||
|
|
||||||
[switch_lang]
|
[switch_lang]
|
||||||
other = "Switch to Chinese"
|
other = "Switch to Chinese"
|
||||||
|
|
||||||
|
[advisory]
|
||||||
|
other = "-"
|
||||||
|
|
|
||||||
|
|
@ -174,3 +174,6 @@ other = "这是一个自动生成的文件,要修改其中的内容,请修
|
||||||
|
|
||||||
[switch_lang]
|
[switch_lang]
|
||||||
other = "切换到英文版"
|
other = "切换到英文版"
|
||||||
|
|
||||||
|
[advisory]
|
||||||
|
other = "The Chinese content may be lagging the English docs"
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,11 @@
|
||||||
|
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<p class="copyright" role="contentinfo">
|
<p class="copyright" role="contentinfo">
|
||||||
|
{{ $advisory := (i18n "advisory") }}
|
||||||
|
{{ if ne $advisory "-" }}
|
||||||
|
{{ printf "%s" $advisory }}<br>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Data.args.archive }}
|
{{ if .Site.Data.args.archive }}
|
||||||
{{ i18n "footer_istio_archive" }}
|
{{ i18n "footer_istio_archive" }}
|
||||||
{{ else if .Site.Data.args.preliminary }}
|
{{ else if .Site.Data.args.preliminary }}
|
||||||
|
|
@ -42,6 +47,7 @@
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ i18n "footer_istio" }}
|
{{ i18n "footer_istio" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ .Site.Data.args.version }}<br>© {{ .Site.Data.args.copyright_year }} Istio Authors, <a href="https://policies.google.com/privacy">{{ i18n "footer_privacy_policy" }}</a><br>
|
{{ .Site.Data.args.version }}<br>© {{ .Site.Data.args.copyright_year }} Istio Authors, <a href="https://policies.google.com/privacy">{{ i18n "footer_privacy_policy" }}</a><br>
|
||||||
{{ if .Site.Data.args.archive }}
|
{{ if .Site.Data.args.archive }}
|
||||||
{{ printf (i18n "footer_archived_on") (dateFormat (i18n "footer_date_format") .Site.Data.args.archive_date) }}
|
{{ printf (i18n "footer_archived_on") (dateFormat (i18n "footer_date_format") .Site.Data.args.archive_date) }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue