mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 19:06:16 +01:00
6 lines
368 B
HTML
6 lines
368 B
HTML
|
{{- $url := cond .IsNamedParams (.Get "url") (.Get 0) -}}
|
||
|
{{- $name := cond .IsNamedParams (.Get "name") (.Get 1) -}}
|
||
|
{{- $text := cond .IsNamedParams (.Get "text") (.Get 2) -}}
|
||
|
{{- $pic := cond .IsNamedParams (.Get "picture") (.Get 3) -}}
|
||
|
{{- $p := dict "Class" "person-mention" "Name" $name "URL" $url "Text" $text "Image" $pic -}}{{- partial "plugin/h-card" $p -}}
|