mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 03:16:30 +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 -}}
|