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]
|
||||
other = "Switch to Chinese"
|
||||
|
||||
[advisory]
|
||||
other = "-"
|
||||
|
|
|
@ -174,3 +174,6 @@ other = "这是一个自动生成的文件,要修改其中的内容,请修
|
|||
|
||||
[switch_lang]
|
||||
other = "切换到英文版"
|
||||
|
||||
[advisory]
|
||||
other = "The Chinese content may be lagging the English docs"
|
||||
|
|
|
@ -35,6 +35,11 @@
|
|||
|
||||
<div class="info">
|
||||
<p class="copyright" role="contentinfo">
|
||||
{{ $advisory := (i18n "advisory") }}
|
||||
{{ if ne $advisory "-" }}
|
||||
{{ printf "%s" $advisory }}<br>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Data.args.archive }}
|
||||
{{ i18n "footer_istio_archive" }}
|
||||
{{ else if .Site.Data.args.preliminary }}
|
||||
|
@ -42,6 +47,7 @@
|
|||
{{ else }}
|
||||
{{ i18n "footer_istio" }}
|
||||
{{ 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>
|
||||
{{ if .Site.Data.args.archive }}
|
||||
{{ printf (i18n "footer_archived_on") (dateFormat (i18n "footer_date_format") .Site.Data.args.archive_date) }}
|
||||
|
|
Loading…
Reference in New Issue