mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-04 14:05:01 +01:00
3 lines
167 B
HTML
3 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 -}}
|