diff --git a/common-theme/layouts/shortcodes/tooltip.html b/common-theme/layouts/shortcodes/tooltip.html index 6271590af..17497dd8a 100644 --- a/common-theme/layouts/shortcodes/tooltip.html +++ b/common-theme/layouts/shortcodes/tooltip.html @@ -1,11 +1,14 @@ +{{/* The title is what will displayed as the title of the tooltip. */}} {{- $title := .Get "title" | default "tooltip" -}} +{{/* The text is what will be displayed in-line in the text (which can be hovered over). */}} +{{- $text := .Get "text" | default $title -}} {{- $emoji := .Get "emoji" | default "🧶" -}} - - {{ $title }} + + {{ $text }} {{ $emoji }} - + {{ $emoji }} {{ $title }}