mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-04 22:15:08 +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 -}}
|