mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
hugo: use i18n strings in 'experimental' and 'restricted' shortcodes
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<span class="icon-svg pb-1">
|
||||
{{ partialCached "icon.html" "science" "science" }}
|
||||
</span>
|
||||
<strong>{{ .Get "title" | default "Experimental" }}</strong>
|
||||
<strong>{{ .Get "title" | default (i18n "experimental") }}</strong>
|
||||
</p>
|
||||
{{ .InnerDeindent | safe.HTML }}
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<span class="icon-svg pb-1">
|
||||
{{ partialCached "icon.html" "rocket_launch" "rocket_launch" }}
|
||||
</span>
|
||||
<strong>{{ .Get "title" | default "Restricted" }}</strong>
|
||||
<strong>{{ .Get "title" | default (i18n "restricted") }}</strong>
|
||||
</p>
|
||||
{{ .InnerDeindent | safe.HTML }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user