mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
7 lines
375 B
HTML
7 lines
375 B
HTML
{{ with .Parent }}
|
|
{{ $id := $.Get "id" | default (printf "td-block-%d" ( add .Ordinal 1 )) }}
|
|
{{ $color := $.Get "color" | default "blue" }}
|
|
<a class="btn btn-link text-{{ $color }}" href="#{{ $id }}"><i class="fa fa-chevron-circle-down" style="font-size: 400%"></i></a>
|
|
{{ else }}
|
|
{{ errorf "The link-down shortcode is supposed to be nested inside a shortcode"}}
|
|
{{ end }} |