feat: add tooltips to cards

This commit is contained in:
joe128
2024-08-24 23:38:44 +02:00
parent 66d2bf57ba
commit 69585eeb14
3 changed files with 22 additions and 13 deletions

View File

@ -1,6 +1,7 @@
{{- $context := . -}}
{{- $link := .Get "link" -}}
{{- $title := .Get "title" -}}
{{- $linktooltip := .Get "linktooltip" -}}
{{- $icon := .Get "icon" -}}
{{- $subtitle := .Get "subtitle" -}}
{{- $image := .Get "image" -}}
@ -9,6 +10,7 @@
{{- $imageStyle := .Get "imageStyle" -}}
{{- $tag := .Get "tag" -}}
{{- $tagType := .Get "tagType" -}}
{{- $tagtooltip := .Get "tagtooltip" -}}
{{/* Image processing options */}}
{{- $method := .Get "method" | default "Resize" | humanize -}}
@ -44,6 +46,7 @@
"page" .Page
"link" $link
"title" $title
"linktooltip" $linktooltip
"icon" $icon
"subtitle" $subtitle
"image" $image
@ -52,5 +55,6 @@
"imageStyle" $imageStyle
"tag" $tag
"tagType" $tagType
"tagtooltip" $tagtooltip
)
-}}