mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-01 20:50:34 +01:00
4 lines
167 B
HTML
4 lines
167 B
HTML
|
{{- $content := .Inner | .Page.RenderString -}}
|
||
|
{{- $tag := .Get 1 | default "div" -}}
|
||
|
{{- printf `<%s style="%s">%s</%s>` $tag ($.Get 0) $content $tag | safeHTML -}}
|