mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
hugo: use i18n string for 'caution' alerts
While we don't currently use the caution alert anywhere yet, we should still be consistent in using i18n strings for these (not `title .AlertType`). Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -17,6 +17,7 @@ important: Important
|
||||
note: Note
|
||||
tip: Tip
|
||||
warning: Warning
|
||||
caution: Caution
|
||||
|
||||
## openapi strings:
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<span class="icon-svg pb-1">{{ $i := index $icons .AlertType }}
|
||||
{{ partialCached "icon.html" $i $i }}
|
||||
</span>
|
||||
<strong>{{ or (i18n .AlertType) (title .AlertType) }}</strong>
|
||||
<strong>{{ i18n .AlertType }}</strong>
|
||||
</p>
|
||||
{{ .Text | safeHTML }}
|
||||
</blockquote>
|
||||
|
||||
Reference in New Issue
Block a user