www.doublefourteen.io/layouts/shortcodes/div.html

6 lines
162 B
HTML

<div class="{{ .Get "class" }}" style="{{ .Get "style" | safeCSS }}">
{{ with .Get "title" }}
<h1 class="section-title">{{ . }}</h1>
{{ end }}
{{ .Inner }}
</div>