mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-08 06:15:40 +00:00
It seems that Hugo does not support reference-style links. See the generated doc at velero.io: https://velero.io/docs/v1.5/api-types/volumesnapshotlocation/#parameter-reference Signed-off-by: Ferenc Nemeth <ferenc.nemeth@cheppers.com>
11 lines
451 B
HTML
11 lines
451 B
HTML
<!--
|
|
# Original table shortcode
|
|
# https://github.com/kubernetes/website/blob/master/layouts/shortcodes/table.html
|
|
-->
|
|
{{ $hasCaption := isset .Params "caption" }}
|
|
{{ $caption := .Get "caption" }}
|
|
{{ $captionEl := printf "<table><caption style=\"display: none;\">%s</caption>" $caption }}
|
|
{{ $table := .Inner | .Page.RenderString }}
|
|
{{ $html := cond $hasCaption ($table | replaceRE "<table>" $captionEl) $table | safeHTML }}
|
|
{{ $html }}
|