Back to Influxdb

Expand

layouts/shortcodes/expand.html

latest266 B
Original Source

{{ $uniqueID := .Get 1 | default "" }} {{ $expandLabel := .Get 0 }} {{ $expandID := cond (eq $uniqueID "") ($expandLabel | plainify | anchorize) (print ($expandLabel | plainify | anchorize) "-" $uniqueID)}}

{{ $expandLabel | markdownify | safeHTML }}

{{ .Inner }}